delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/15/01:19:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Mon, 15 Apr 2002 09:17:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jim Meyering <jim AT meyering DOT net>
cc: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>, djgpp-workers AT delorie DOT com
Subject: Re: Fileutils 4.1 alpha 1 uploaded
In-Reply-To: <87g01yrmr7.fsf@pixie.eng.ascend.com>
Message-ID: <Pine.SUN.3.91.1020415091325.4068A-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 Sun, 14 Apr 2002, Jim Meyering wrote:

> > I have a bunch of patches to feed back, now I've caught up with the latest
> > stable release. ;) The primary set is to the test suite to cope with DJGPP
> > programs reporting their names as e.g.: 'c:/djgpp/bin/cp' instead of just
> > 'cp'. (We discussed this before.)
> 
> Sorry, but I'm really not inclined to spend time tweaking *many* of
> the tests to work on systems where argv[0] != "cp" for commands like
> `cp a b'.

Does Posix even mandate this behavior?  Aren't there shells out there 
that put the full pathname of the executable into argv[0]?

Anyway, Richard, how about changing djstart.c to remove the leading 
directories from the value of argv[0]?  Can this screw up something?

- Raw text -


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