Re: renameat2 works differently than on Linux

2023-04-18 Thread Corinna Vinschen via Cygwin
Hi Bruno, On Apr 18 14:47, Bruno Haible via Cygwin wrote: > Hi, > > The renameat2 function is "Linux-specific", says the man page [1]; however, > Cygwin implements it as well. > > In Cygwin 3.4.6, in a specific case, it operates differently than the > Linux function. Namely, if the old* argument

renameat2 works differently than on Linux

2023-04-18 Thread Bruno Haible via Cygwin
Hi, The renameat2 function is "Linux-specific", says the man page [1]; however, Cygwin implements it as well. In Cygwin 3.4.6, in a specific case, it operates differently than the Linux function. Namely, if the old* arguments and the new* arguments are the same and the flag RENAME_NOREPLACE is sp