Hi,
Something weird is happenning with lseek. I've been using it heavily
for the past 3 months on a project I'm working on, and now all of a
sudden it's returning an error with no apparent reason:
For example: it gives me and error when I move lseek to the 65*512th
byte in a file that has far more than that many bytes. And no matter
how big the file is, it is the error is always on the 65*512th byte
lseek.
Anyone has a clue as to what might be wrong? Or at least any general
suggestions as to why lseek might be returning an error when its
arguments are reasonable.
Thanks alot,
Khaled