delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/14/23:18:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <03ec01bfd678$b2fce140$032c1818@rochester.rr.com>
From: "Terry Lincoln" <lincoln2 AT rochester DOT rr DOT com>
To: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>,
"Steve Kelem" <kelem AT adaptivesilicon DOT com>
Cc: <kjahds AT kjahds DOT com>, "Cygwin" <cygwin AT sourceware DOT cygnus DOT com>,
<khan AT NanoTech DOT wisc DOT edu>
References: <3947B531 DOT D14BF8DD AT adaptivesilicon DOT com> <3947BBE9 DOT 5B33C61E AT ece DOT gatech DOT edu>
Subject: Re: Problem compiling perl module Term::ReadKey under cygwin
Date: Wed, 14 Jun 2000 23:20:44 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

----- Original Message -----
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
To: "Steve Kelem" <kelem AT adaptivesilicon DOT com>
Cc: <kjahds AT kjahds DOT com>; "Cygwin" <cygwin AT sourceware DOT cygnus DOT com>;
<khan AT NanoTech DOT wisc DOT edu>
Sent: Wednesday, June 14, 2000 1:07 PM
Subject: Re: Problem compiling perl module Term::ReadKey under cygwin


> *I* know of no problems using cpan updates with my perl -- it works fine
> for me. I haven't tried Term::ReadKey though.
>
> However, your problem is different. It's because of a recent change to
> cygwin -- see the recent cygwin mailing list thread entitled 'Wierd
> patch problem' starting with
> http://sourceware.cygnus.com/ml/cygwin/2000-05/msg00671.html
>
> The change to cygwin is that ANY path that contains a backslash is
> interpreted as a windows path, so /tmp\cc001120.base becomes "CURRENT
> DRIVE:\\tmp\\cc001181.base".
>
> I think you need to create a \tmp directory in the root of the drive in
> which you're building. So, if you're building in /usr/local/ and /usr is
> mounted from F:\cygwin, then create F:\tmp
>
> This is a hack to work around an error in the perlbuild scripts ('\'
> shouldn't be used as a path separator) but it works okay on most unices.
> It's just showing up now on cygwin (and only cygwin) because of the
> recent change in cygwin's path handling.
>
> Cygwin List:
>   I think this argues for the recently proposed (and shot down) patch
> that establishes (yet another) CYGWIN= setting so that, if set, paths
> are interpreted as windows paths if and only if they contain ALL '\' and
> no '/'. If that CYGWIN= setting is unset, behavior is unchanged from the
> current.
>
>   This is the second complaint in two days I've gotten on this
> cygwin-perl-/tmp issue.
>
This is arguably a lame excuse for your patch since as you said above,
"...hack to work around an error in the perlbuild scripts ('\'
shouldn't be used as a path separator)..."

Are we then supposed to change the OS and tools in order to excuse
ourselves from fixing the bugs in our applications?
Try this analogous scenario. Pragrammer to Microsoft Engineer: "I keep
getting null pointer exceptions in my program, you should change Windows
so that references to uninitialized data will now return the constant
value 0xDEADBEEF instead of causing an exception."
Let's stick to a convention for awhile, please!  The current one has my
vote.

> --Chuck

Regards, Terry
>
>
> Steve Kelem wrote:
---->snip<-----




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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