delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/15/02:51:28

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020415091325 DOT 4068A-100000 AT is>
In-Reply-To: <Pine.SUN.3.91.1020415091325.4068A-100000@is> (Eli Zaretskii's message of "Mon, 15 Apr 2002 09:17:21 +0300 (IDT)")
From: Jim Meyering <jim AT meyering DOT net>
Date: Mon, 15 Apr 2002 08:51:06 +0200
Message-ID: <87y9fpqwth.fsf@pixie.eng.ascend.com>
Lines: 21
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> 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

I'm pretty sure POSIX does not mandate it, but in the Unix world
it seems to be the de facto standard.

> 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