On 03/11/2013 01:35 AM, Gary V. Vaughan wrote: > On all the AIX machines I have access to, with all compiler optimisations > turned off, I get this: >
> Referring to: > > 71 errno = 0; > 72 ASSERT (lseek (fd2, 0, SEEK_CUR) == -1); > 73 ASSERT (errno == EBADF); > 74 ASSERT (lseek (fd, 0, SEEK_CUR) == 3); > Anything I can do to help debug this failure? Can you determine whether gnulib detected that fclose() is broken, and installed rpl_fclose? And if gnulib did not install rpl_fclose, rerun configure with 'gl_cv_func_fflush_stdin=no' so that you can force a replacement of rpl_fclose - if that then fixes the test, then the solution is simple - we need to patch m4/fclose.m4 to detect this bug, and our existing lib/fclose.c will already fix it. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
