Larry Jones <lawrence.jones <at> siemens.com> writes: > > CVS nightly testing has been failing on BSD/OS and I've finally tracked > the problem down to a bug in fseeko -- it doesn't clear the EOF flag > after doing its magic:
Thanks. Since the gnulib tests-fseeko doesn't test that, we should probably beef it up as well. Applied with this ChangeLog: 2007-12-13 Larry Jones <lawrence.jones <AT> siemens.com> (tiny change) Fix fseeko on BSD-based platforms. * lib/fseeko.c (rpl_fseeko) [__sferror]: Reset EOF flag on successful seek. -- Eric Blake