[Patch] Segfault on unaligned lseek() on /dev/sdX (was: [ITP] ddrescue 1.3)
Sun May 20 15:02:00 GMT 2007
fhandler_dev_floppy::lseek() always clears the 60KB pre-read buffer,
even on lseek(fd, 0, SEEK_CUR);
If a programm (like ddrescue) always calls lseek() before each read(),
performance is poor, because the same block is read several times.
With this new version of the patch, the buffer is only cleared if necessary.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches