delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/02/20:39:31

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
From: posting-list AT MailAndNews DOT com (Jari Aalto+mail.emacs)
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: rm - access violation not counted in W2k Professional
X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/
http://home.eu.org/~jari/homepage.html. ICQ 'jari-aalto' 82313129
PGP 2.6.x keyid 47141D35 http://www.pgpi.net/
Keywords: file,use,patch,cygwin
Date: Wed, 01 Aug 2001 01:19:11 +0300
Message-ID: <wkr8uw7nds.fsf@blue.sea.net>
Lines: 39
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-*-nt5.0.2195)
MIME-Version: 1.0

| >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.

| 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)

Jari


--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019