[Patch]: mkdir -p and network drives

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue May 10 15:11:00 GMT 2005


On Mon, May 09, 2005 at 08:16:36PM -0400, Pierre A. Humblet wrote:
>At 06:19 PM 5/9/2005 +0000, Eric Blake wrote:
>
>>Second, the sequence chdir("//"), mkdir("machine") creates machine in the 
>>current directory.
>
>Old bug. 
>chdir("/proc"), mkdir("machine") produces the same result.
>And mkdir("/proc"), mkdir("/proc/machine") creates c:\proc\machine
>
>The fix sets errno to EROFS, which is what rmdir is already doing.
>Is that OK for coreutils?
>
>Pierre
>   
>2005-05-10  Pierre Humblet <pierre.humblet@ieee.org>
>
>	* dir.cc (isrofs): New function.
>	(mkdir): Use isrofs.
>	(rmdir): Ditto.

Could we see this as a unified-diff please?

cgf



More information about the Cygwin-patches mailing list