delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/04/22/11:52:21

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Sun, 22 Apr 2001 11:52:53 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com, cygwin-developers AT cygwin DOT com
Subject: Re: It's out there
Message-ID: <20010422115253.A23896@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com, cygwin-developers AT cygwin DOT com
References: <20010421212129 DOT A16488 AT redhat DOT com> <002301c0cb27$dddd3a00$562fa4cb AT brasd1 DOT vic DOT optushome DOT com DOT au> <20010422100320 DOT A17906 AT redhat DOT com> <3AE2E788 DOT 622818F5 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3AE2E788.622818F5@ece.gatech.edu>; from cwilson@ece.gatech.edu on Sun, Apr 22, 2001 at 10:15:36AM -0400

On Sun, Apr 22, 2001 at 10:15:36AM -0400, Charles S. Wilson wrote:
>Christopher Faylor wrote:
>> 
>> On Sun, Apr 22, 2001 at 10:29:24PM +1000, Travis Howell wrote:
>> >One minor problem, rm seems unable to delete symbolic links created by
>> >cygwin 1.3.0-1
>> >I guess fileutils needs an update. An example:
>> >unknown AT CO3007967-A c:/A3D
>> >$ rm eggdrop.exe
>> >rm: cannot remove `eggdrop.exe': No such file or directory
>> 
>> Um, no.  That would be what we call in the industry, "a bug" in Cygwin.
>> 
>> It's a showstopper.
>
>Have you reproduced this "bug", Chris?  I can't.
>
>$ uname -a
>CYGWIN_NT-5.0 KHELDAR 1.3.0(0.37/3/2) 2001-04-21 19:40 i686 unknown
>$ mkdir foo
>$ cd foo
>$ touch bar
>$ ls -l
>total 0
>-rw-rw-r--   1 cwilson   None          0 Apr 22 10:13 bar
>$ ln -s bar baz
>$ ls -l
>total 1
>-rw-rw-r--   1 cwilson   None          0 Apr 22 10:13 bar
>lrwxrwxrwx   1 cwilson   None         86 Apr 22 10:14 baz -> bar
>$ rm baz
>$ ls -l
>total 0
>-rw-rw-r--   1 cwilson   None          0 Apr 22 10:13 bar
>
>What's the problem?

The .exe extension is the clue.  You can't rm a symlink with a .exe (or,
presumably, a .bat or .com) extension.  I can reproduce it.  I should
have a patch soon.

cgf

- Raw text -


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