www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/09/13/16:40:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 13 Sep 2008 14:38:39 -0500
From: JT Williams <jtw AT sfbrgenetics DOT org>
Subject: Re: ANNOUNCE: DJGPP port of GNU Which 2.20 uploaded.
In-reply-to: <200808311516.m7VFGE0Y026994@delorie.com>
To: djgpp AT delorie DOT com
Message-id: <20080913193839.GA2073@sfbrgenetics.org>
MIME-version: 1.0
References: <200808311516 DOT m7VFGE0Y026994 AT delorie DOT com>
User-Agent: Mutt/1.5.15 (2007-04-06)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On a pure DOS 5.0/djgpp 2.03+ system, running bash 2.04.7(2),
I observed the following behaviour with the latest port of 'which':

[which 2.11]

foo% which gcc
/dev/c/usr/djgpp/bin/gcc.exe

[which 2.20]

foo% which gcc
(null): Can not canonicalize DOS path "c:\usr\bin"foo% 
foo% /usr/djgpp/bin/which gcc
(null): Can not canonicalize DOS path "c:\usr\bin"foo% 
foo% /usr/djgpp/bin/which gcc.exe
(null): Can not canonicalize DOS path "c:\usr\bin"foo% 

where c:\usr\bin happens to be the first component of my PATH:

foo% echo $PATH
/dev/c/usr/bin;/dev/c/usr/local/bin;c:\usr\djgpp/bin;.

(The mix of /dev/c, c:, forward- and reverse-slashes is
intentional -- to help provoke/isolate problems with path
name parsing.)

-- 
j

On Sun|2008.08.31, Juan Manuel Guerrero wrote:

>This is a port of GNU Which 2.20 to MSDOS/DJGPP.

- Raw text -


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