New rename(2) function

Igor Peshansky pechtcha@cs.nyu.edu
Wed Aug 1 14:45:00 GMT 2007


On Wed, 1 Aug 2007, Eric Blake wrote:

> Also, where do you check that rename("a","a") is a successful no-op, as
> well as rename("a","b") when a and b are hard links to the same inode
> (perhaps both of these cases are covered by NtSetInformationFile?)

Huh?  The first one I understand, but why is rename("a","b") a no-op?
Shouldn't it cause "a" to be removed?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert



More information about the Cygwin-developers mailing list