|
From: | Andreas Schwab |
Subject: | [bug #17900] rm -f should ignore ENOTDIR |
Date: | Mon, 02 Oct 2006 14:35:53 +0000 |
User-agent: | Mozilla/5.0 (compatible; Konqueror/3.5; Linux; de, en_US) KHTML/3.5.1 (like Gecko) |
URL: <http://savannah.gnu.org/bugs/?17900> Summary: rm -f should ignore ENOTDIR Project: GNU Core Utilities Submitted by: schwab Submitted on: Montag 02.10.2006 um 16:35 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open _______________________________________________________ Details: $ touch x $ rm -f x/y; echo $? rm: cannot remove `x/y': Not a directory 1 This error should be ignored. After all, if a file name component is not a directory the file cannot exist, so rm -f should handle it the same as ENOENT. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?17900> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |