-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 1/17/2009 6:45 AM: > If you remove this special-casing, one of the tests in the testsuite fails. > Namely when the first fseek after fflush attempts to position beyond end of > file. That's something that lseek() does not support, but we are forced to > used lseek() in this situation, by POSIX. You can try to undo these two > hunks and fix the resulting test failure differently...
Huh? "The lseek() function shall allow the file offset to be set beyond the end of the existing data in the file. If data is later written at this point, subsequent reads of data in the gap shall return bytes with the value 0 until data is actually written into the gap." http://www.opengroup.org/onlinepubs/9699919799/functions/lseek.html - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklx4oAACgkQ84KuGfSFAYAmqQCdE8JSle+BtsaXGH+nZbdCvSE8 t88AoNQQcetSsOrFOZOAy5YPO3iUoOgA =U902 -----END PGP SIGNATURE-----