[PATCH] _unlink() & rmdir() on /proc/*

2002-06-04 Thread Pavel Tsekov
Hello, Currently "rm -rf" on a file or directory under /proc returns ENOENT. This is not correct and is caused by the fact that the posix filename for, say, /proc/uptime is translated to the following win32 name: c:\cygwin\proc\uptime (if c:\cygwin is mounted on /). The attached patches fix this

Re: [PATCH] _unlink() & rmdir() on /proc/*

2002-06-04 Thread Pavel Tsekov
The attached dir.cc.diff in the original mail was wrong. Please, find attached the proper fix for dir.cc. Sorry for the inconvenience :( PT> The attached patches fix this problem by returning EROFS dir.cc.diff Description: Binary data

Re: [PATCH] _unlink() & rmdir() on /proc/*

2002-06-04 Thread Christopher Faylor
On Tue, Jun 04, 2002 at 02:37:20PM +0200, Pavel Tsekov wrote: >Hello, > >Currently "rm -rf" on a file or directory under /proc returns >ENOENT. This is not correct and is caused by the fact that >the posix filename for, say, /proc/uptime is translated to >the following win32 name: c:\cygwin\proc\u

Re: [PATCH] _unlink() & rmdir() on /proc/*

2002-06-05 Thread Christopher Faylor
On Tue, Jun 04, 2002 at 06:36:34PM +0200, Pavel Tsekov wrote: >They are very small: > >syscalls.cc.diff and dir.cc.diff have 8 lines added. >path.cc.diff has line one changed. > >Does this require an assignment ? I took a look at the patches. I don't think they need an assignment so I checked th

Re[2]: [PATCH] _unlink() & rmdir() on /proc/*

2002-06-04 Thread Pavel Tsekov
They are very small: syscalls.cc.diff and dir.cc.diff have 8 lines added. path.cc.diff has line one changed. Does this require an assignment ? CF> I haven't actually read your patch since, AFAIK, you don't have an CF> assignment with Red Hat, right? If this is the case, would you mind CF> send

Re[2]: [PATCH] _unlink() & rmdir() on /proc/*

2002-06-05 Thread Pavel Tsekov
Hello Christopher, Tuesday, June 04, 2002, 5:35:35 PM, you wrote: CF> I haven't actually read your patch since, AFAIK, you don't have an CF> assignment with Red Hat, right? If this is the case, would you mind CF> sending one in? Yes, I don't have an assignment. Today I've started the process t