|
From: | Alan Hourihane |
Subject: | [bug #21999] rm fails completely on systems that don't have dirfd() |
Date: | Thu, 10 Jan 2008 19:01:28 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.11) Gecko/20080103 Firefox/2.0.0.11 |
Follow-up Comment #2, bug #21999 (project coreutils): In config.h I see this.... /* the name of the file descriptor member of DIR */ /* #undef DIR_FD_MEMBER_NAME */ #ifdef DIR_FD_MEMBER_NAME # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) #else # define DIR_TO_FD(Dir_p) -1 #endif And therefore dirfd() is implemented with returning DIR_TO_FD(Dir_p) -1. Doing that and remove.c fails completely. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?21999> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |