This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rm - access violation not counted in W2k Professional


At 02:42 PM 7/31/2001, Jari Aalto+list.cygwin 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' 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.  

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.



Larry Hall                              lhall@rfk.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]