On 9-Aug-2011, Eric Blake wrote: | I'm thinking this may be a bug in gnulib. I also know that glibc 2.14 | fixed one fclose() bug in how fclose() relates to fflush(), but at the | expense of introducing another, and that gnulib does not yet detect and | work around that glibc bug. I'm assuming that you were testing on a | glibc platform, but which version?
Sorry, I should have included this info in my earlier mail. $ ldd --version ldd (Debian EGLIBC 2.13-7) 2.13 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. jwe