Mail Archives: cygwin/2002/06/04/21:15:45
On Wed, Jun 05, 2002 at 01:14:26AM +0100, Chris January wrote:
>> P.S. I don't expect this patches to be applied because they may look
>> like ugly hacks or something like that... I didn't find any more
>> appropriate way to fix this though without greater modifications to
>> the code. I see several ways of fixing this in a much better way:
>>
>> 1. unlink () and rmdir () should be made virtual functions in
>> fhandler_base.
>
>Chris, what are yout thoughts on this? At the moment, not enough file I/O
>functions have been moved to fhandler_base to implement a read/write pseudo
>filesystem using fhandler_virtual. This was one of the main reasons that
>/proc/registry is read-only.
I agree that unlink, rmdir, chdir, and probably a host of others should be
moved into fhandler. Having done this with fstat, opendir, readdir, etc.,
recently, I know this isn't a trivial thing to do however.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -