delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/06/12:15:36

Date: Thu, 6 Jul 2000 19:15:03 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Teun Burgers <burgers AT ecn DOT nl>
cc: djgpp-workers AT delorie DOT com
Subject: Re: DJGPP problem executing a script
In-Reply-To: <39647DF2.821626A@ecn.nl>
Message-ID: <Pine.SUN.3.91.1000706191323.26613C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 6 Jul 2000, Teun Burgers wrote:

> It takes argv[0], looks for the last / and strips of the string
> "/bin" before that. This last step fails when there is "\bin"
> in the prefix which is why we get in @INC something
> like c:\djgpp\bin/lib/perl5 instead of c:/djgpp/lib/perl5 as intended

As I said before, argv[0] should not have backslashes, the startup code 
converts them all to forward slashes.

So it is still a mystery to me how do the backslashes get into this.

- Raw text -


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