| To: | "'Jim Meyering'" <yyy@xxxxxxxxxxxx>, yyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | RE: rename suggestion from Andries Brouwer |
| From: | "Seeds, Glen" <yyyyyyyyyy@xxxxxxxxxx> |
| Date: | Wed, 2 Apr 2003 13:29:20 -0500 |
| Cc: | yyyyyyyyyyyyyyy@xxxxxx |
|
Looks like we goofed on that one! I think it could be easily fixed, though, by using the term "existing directory entry" instead of "existing file". That's what the intent was. /glen -----Original Message-----
I've just found that many rename implementations
If the old argument and the new argument
But then, in the rationale it says this: The specification that if old and new refer to the same file is intended
Andries Brouwer already noticed the ambiguity and filed this, back in 1999: http://www.opengroup.org/austin/mailarchives/austin-review-l/msg00048.html I did not find a follow-up to that message. Was there one? The ambiguity is when old and new are distinct links to the same inode.
touch a; perl -e 'link "a", "b"; rename "a", "b" or die "$!"'; ls a b On most systems, you'll see that both `a' and `b' remain.
Andries' proposal would allow a rename implementation to
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | rename suggestion from Andries Brouwer, Jim Meyering |
|---|---|
| Next by Date: | Re: rename suggestion from Andries Brouwer, Bruce Evans |
| Previous by Thread: | Re: rename suggestion from Andries Brouwer, Jim Meyering |
| Next by Thread: | pdf versions of the 2003 edition, Andrew Josey |
| Indexes: | [Date] [Thread] [All Lists] |