[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] FreeBSD 8: openat() yes, fdopendir() no
From: |
Eric Blake |
Subject: |
Re: [Bug-tar] FreeBSD 8: openat() yes, fdopendir() no |
Date: |
Tue, 08 Apr 2008 20:36:51 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[adding bug-gnulib; replies can drop bug-tar]
According to Christian Weisgerber on 4/8/2008 9:51 AM:
| GNU tar 1.19 fails to build on FreeBSD 8-CURRENT (starting from
| 2008-03-31). The problem is code in lib/getcwd.c and lib/savedir.c
| that mistakenly assumes if openat() is available, so will be
| fdopendir(). FreeBSD imported the Solaris-style *at() functions,
| but it does not have fdopendir(), and I don't see how the existence
| of the one should imply the existence of the other.
|
| Apparently the problematic code is shared across GNU projects. At
| least fileutils is affected as well.
Indeed. It looks like gnulib needs an fdopendir module, separate from
openat. Care to help implement one?
- --
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
iEYEARECAAYFAkf8K8MACgkQ84KuGfSFAYDRAwCeIO1z3fB/1SIANixV9MnLl5gs
I58An2XSrZlcqHulO5ZCIbR+N61eW64L
=A3Wy
-----END PGP SIGNATURE-----