bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [GNU tar 1.20] testsuite: 2 7 8 13 14 16 17 22 28 29 44 45


From: Eric Blake
Subject: Re: [Bug-tar] [GNU tar 1.20] testsuite: 2 7 8 13 14 16 17 22 28 29 44 45 46 48 51 52 61 63 64 65 67 68 69 70 71 72 73 74 failed
Date: Mon, 02 Jun 2008 06:01:59 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to H.Merijn Brand on 5/21/2008 6:53 AM:
|> | So obviously fseeko () (and.or fseek ()) are severely borked when
|> | called as first call after fopen (), even if seek_offset == 0.
|>
|> Are you using the gnulib replacement for fseek/fseeko, or the native one?
|
| Native

Are you sure?  Please look at config.log and at the generated lib/stdio.h
to see whether #define fseeko rpl_fseeko might be active.

|> | --8<---
|> |   if (seek_offset && fseek (fp, (long)seek_offset, 0))
|> |     error (EXIT_FAILURE, errno, "%s", _("cannot seek"));
|> | -->8---
|>
|> This shouldn't be necessary with a compliant fseek (or working gnulib
|> fseek replacement).
|
| Indeed it shouldn't be needed, but it prevents hitting the bug on HP-UX
| 10.20, a bug that won't be fixed. The chances that anyone will port GNU
| libc to HP-UX 10.20 *AND* make the systems that could want it install
| it are close to 0.

You've missed something fundamental here.  I am not asking to port glibc
to HP-UX (nor do I think it is possible); rather, I am asking about
gnulib, which is a different project.  gnulib is the owner of the various
replacement stdio modules which are supposed to take up the slack when the
native version is deficient.  My concern is that our attempts to work
around your particular HP-UX bug need more help.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----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

iEYEARECAAYFAkhD4TcACgkQ84KuGfSFAYAAmQCeJ+uEM97JaWjwvBI6OpfmL8Mm
/t8AoMUioB3VHBw6P2uhTVgggyChSHRy
=h1Mv
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]