Vincent van Ravesteijn wrote: > According to the code: bytes_end = bytes_begin + info.st_size, which would > mean info.st_size is 150 MB ? > > Is fstat failing in this case, or did you really have a file of 150MB ?
and in any case we do not check for return value of fstat, which looks wrong. pavel