delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.3.1.2.20010803103503.016710d0@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Fri, 03 Aug 2001 10:43:25 -0400 |
To: | posting-list AT MailAndNews DOT com (Jari Aalto+mail.emacs), |
cygwin AT sourceware DOT cygnus DOT com | |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: rm - access violation not counted in W2k Professional |
In-Reply-To: | <wkr8uw7nds.fsf@blue.sea.net> |
Mime-Version: | 1.0 |
At 06:19 PM 7/31/2001, Jari Aalto+mail.emacs wrote: >| >If rm command is used on file which Win32 labels as "access violation", >| >rm will not give any warnings, errors or even set the $? >| > >| >File is not removed. - correct - but it shuld give warning >| > >| >If I do the same in Explorer, a dialog pos up saying that some other >| >process is using the file/directory. >| > >| >Jari >| >| >| >| I don't understand your reference to "file which Win32 labels as 'access >| violation'" but it sounds to me like you're referring to a file which is >| opened for exclusive use by some other program which Cygwin's 'rm' > >Yes. > >| then tries to remove. If this is the case, see from earlier today: >| >| http://www.cygwin.com/ml/cygwin/2001-07/msg01774.html >| >| It covers the same topic in a different context. > >I see. So the file is scheduled, but this certainly is not intuitive >and hits old time Unix user a bit. True. Welcome to Win32! >| If you feel something else should be done here, provide a patch. Keep >| in mind though that not everyone is trying to use 'rm' interactively >| though. > >I really think that a warning message should definitely be in place >especially when $? does not indicate any more details. > >Where can I get rm sources and I'll see if I can produce a patch. >Where do I send it? >Are there any guidelines for patch? (I use Emacs ChangeLog) rm is part of the fileutils package. You can download the source there if you'd like to look at them. Coding standards are GNU. Sorry, I don't have a pointer for those. You can look at http://www.cygwin.com/contrib.html for pointers on Cygwin contributions however. I suspect you're going to find that you'll need to look at the Cygwin DLL source to make a change along the lines of what you suggest though. Its the Cygwin DLL that handles figuring out how emulate the desired behavior. The Contributing page will tell you what you need to get started building the Cygwin DLL too. Have fun! :-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |