in reply to Reading only new lines from a file
It seems like your code assumes that at the moment it gets the offset it "must be on a newline", which you can never be certain of. Essentially, you are seeking to the last character written at the moment of the seek, which could be anywhere in a line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading only new lines from a file
by dsheroh (Monsignor) on Aug 31, 2007 at 22:04 UTC |