delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/27/19:09:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 27 Sep 2002 16:08:23 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head
To: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>, libwww AT perl DOT org
cc: cygwin AT cygwin DOT com
Message-ID: <Mahogany-0.64.2-2608-20020927-160823.00@MCHASE-COMPAQ>
MIME-Version: 1.0
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0209271821300 DOT 17538-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0209271821300.17538-100000@slinky.cs.nyu.edu>

On Fri, 27 Sep 2002 18:31:41 -0400 (EDT) Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:

> When installing LWP through CPAN, the installation creates the GET, HEAD
> and POST scripts in /usr/bin.  On Cygwin, the name HEAD clashes with an
> existing program, /bin/head.exe (Cygwin assumes a ".exe" extension if it
> cannot find a program, so /bin/head normally invokes /bin/head.exe).
> Windows mostly disallows files with the same name in different cases,
> unlike Unix, which has no trouble distinguishing between HEAD and head.
> So, to accommodate the users of Cygwin and others using case-insensitive
> filesystems, can the scripts GET, HEAD, and POST be renamed to GET.pl,
> HEAD.pl, and POST.pl?  Would this break a lot of existing functionality?
> Thank you.
>         Igor Pechtchanski
> P.S. I've cc'd the cygwin mailing list, as this is relevant to Cygwin.

Lwp-request strips both directory name and extension before it uses
$progname to determine $method, so adding an extension to the alias names
shouldn't bother lwp-request.

Part of the problem is that some installers have reported not seeing the
request whether to install the aliases or not if they are installing via
the CPAN shell.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


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