This is the mail archive of the
mailing list for the Cygwin project.
Re: rm - access violation not counted in W2k Professional
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: rm - access violation not counted in W2k Professional
- From: posting-list at MailAndNews dot com (Jari Aalto+mail.emacs)
- Date: Wed, 01 Aug 2001 01:19:11 +0300
- Keywords: file,use,patch,cygwin
| >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.
| 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'
| then tries to remove. If this is the case, see from earlier today:
| 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.
| 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
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)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html