bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] FreeBSD 8: openat() yes, fdopendir() no


From: Christian Weisgerber
Subject: [Bug-tar] FreeBSD 8: openat() yes, fdopendir() no
Date: Tue, 8 Apr 2008 17:51:57 +0200
User-agent: Mutt/1.4.2.3i

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.

-- 
Christian "naddy" Weisgerber                          address@hidden




reply via email to

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