[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fseeko failure [was: wcwidth failure on RedHat Linux 7.3 (coreutils-
From: |
Eric Blake |
Subject: |
Re: fseeko failure [was: wcwidth failure on RedHat Linux 7.3 (coreutils-6.9.91)] |
Date: |
Mon, 07 Jan 2008 20:49:01 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Peter Fales on 1/7/2008 11:53 AM:
|> | This change fixes the problem in in test-wcwidth. There is one other
|> | failure in test-fseeko.sh when building on RedHat 7.3.
|>
|> More details, please?
|
| I'm guessing this due to an incompatibility (bug?) in the glibc used
| on RedHat 7.3 (we have glibc-2.2.5-44). The test is failing at line
| 55 of test-fseeko.c:
|
| 53 if (fseeko (stdin, (off_t) 0, SEEK_END))
| 54 return 1;
| 55 if (feof (stdin))
| 56 return 1;
| 57 }
Definitely a bug in the resulting fseeko - POSIX requires a successful
seek to clear the EOF marker. The question now is whether this is the
native fseeko (in which case, m4/fseeko.m4 needs to be enhanced to detect
this flaw and work around it), or if config.log already filtered out
fseeko as broken, in which case, lib/fseeko.c needs to be patched so that
rpl_fseeko correctly clears the EOF marker.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHgvKt84KuGfSFAYARAiy9AJ9BWyBdeaVbObkNLNCFp00uBEv75ACfUrMX
CUnnZjZ4J4VckfMqVi9e/yM=
=dtgd
-----END PGP SIGNATURE-----