X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f To: Eli Zaretskii Cc: Richard Dawe , djgpp-workers AT delorie DOT com Subject: Re: Fileutils 4.1 alpha 1 uploaded References: In-Reply-To: (Eli Zaretskii's message of "Mon, 15 Apr 2002 09:17:21 +0300 (IDT)") From: Jim Meyering 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 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii 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?