delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/12/21:49:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <425C7AA0.1090801@byu.net>
Date: Tue, 12 Apr 2005 19:49:20 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
CC: cygwin AT cygwin DOT com, libtool AT gnu DOT org
Subject: Re: cygwin coreutils-5.3.0-4 rm change breaks Libtool
References: <041220052251 DOT 26916 DOT 425C50E800071C000000692422007507840A050E040D0C079D0A AT comcast DOT net> <425C76D9 DOT 9020702 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <425C76D9.9020702@cwilson.fastmail.fm>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Charles Wilson on 4/12/2005 7:33 PM:
> Eric Blake wrote:
> 
>> Which line?  Since you already found the culprit, pointing others to
>> the location would be helpful.  Can you come up with a simple libtool
>> patch?
> 
> 
> I know where.  Actually, I'd prefer to keep the rm, if there is a
> mechanism to say "rm foo but NOT foo.exe".  Does the "rm -f foo." trick
> still work to specify "foo without any extension and I really mean it."

Yes, it still works on normal mounts, since Windows strips all trailing
dots and spaces, and cygwin does not do automatic extension adding if the
command line has a trailing dot.  However, on managed mounts, q. is a
valid filename, so `rm -f q.' silently fails rather than removing the
script, and if q. and q.exe exist in the managed mount, invoking plain q
gets q.exe and not the script `q.'.  And since some packages have
non-portable file names requiring the use of a managed mount to unpack
them, it could get difficult to relibtoolize such a package if libtool
uses the trailing dot trick.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCXHqg84KuGfSFAYARAhKVAKCI6VLigU/FHSwjazQ6dlwgFc9vfgCeMoX0
OawCIcJloKrsiYZHu89TT5s=
=0S2y
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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