GNU Core Utilities - Bugs: bug #21999, rm fails completely on systems...
You are not allowed to post comments on this tracker with your current authentication level.
bug #21999: rm fails completely on systems that don't have dirfd()
Submitter: | None | ||
Submitted: | Thu 10 Jan 2008 04:04:31 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Wont Fix |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Jump to the original submission
Fri 25 Jan 2008 03:34:43 PM UTC, comment #6: |
Jim Meyering <meyering> |
Thu 10 Jan 2008 11:57:46 PM UTC, comment #5: Just checked other programs, and ls.c deals with dirfd() returning -1 and falls back to using an alternative.
|
Alan Hourihane <alanh> |
Thu 10 Jan 2008 08:58:12 PM UTC, comment #4: I guess if DIR_TO_FD() is -1 and dirfd() is not available, then configure should really abort.
|
Alan Hourihane <alanh> |
Thu 10 Jan 2008 07:01:54 PM UTC, comment #3: Oh, I'm using coreutils-6.9 currently. |
Alan Hourihane <alanh> |
Thu 10 Jan 2008 07:01:27 PM UTC, comment #2: In config.h I see this....
|
Alan Hourihane <alanh> |
Thu 10 Jan 2008 05:45:54 PM UTC, comment #1: There's a dirfd substitute for systems that lack it, so it shouldn't be a problem. Which version of coreutils are you using, exactly? And which system is failing? Can you please try the latest snapshot of coreutils, at <http://meyering.net/cu/>? |
Paul Eggert <eggert> |
Thu 10 Jan 2008 04:04:31 PM UTC, original submission:
Due to the hard requirements in remove.c, rm completely fails to work on systems that don't implement dirfd().
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-01-25 | meyering | Status | None | Wont Fix | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
as discussed via email, Alan has opted to implement dirfd in his experimental C library, so I'm closing this. You're welcome to reopen if you need anything.