This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head
- From: Michael A Chase <mchase at ix dot netcom dot com>
- To: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>, libwww at perl dot org
- Cc: cygwin at cygwin dot com
- Date: Fri, 27 Sep 2002 16:08:23 -0700 (Pacific Daylight Time)
- Subject: Re: Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head
- References: <Pine.GSO.firstname.lastname@example.org>
On Fri, 27 Sep 2002 18:31:41 -0400 (EDT) Igor Pechtchanski <email@example.com> 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.
** 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