This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: mkdir -p and network drives


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]