delorie.com/archives/browse.cgi | search |
Date: | Tue, 7 Jan 2003 18:09:21 -0500 |
Message-Id: | <200301072309.h07N9L415443@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp-workers AT delorie DOT com |
In-reply-to: | <3E1B35F9.DC4EA825@phekda.freeserve.co.uk> (message from Richard |
Dawe on Tue, 07 Jan 2003 20:18:01 +0000) | |
Subject: | Re: m4 port: return program name as 'm4' not '/some/path/m4.exe' [PATCH] |
References: | <E18VAre-0000gx-00 AT phekda DOT freeserve DOT co DOT uk> <003801c2b559$f33a0d60$0100a8c0 AT acp42g> <3E19BEAE DOT 7CC5B46C AT phekda DOT freeserve DOT co DOT uk> <200301061840 DOT h06IebI26175 AT envy DOT delorie DOT com> <3E1B35F9 DOT DC4EA825 AT phekda DOT freeserve DOT co DOT uk> |
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 |
> > In the crt0 code, compare the path to our executable to the $PATH. If > > we were found in some directory already on the $PATH, omit the > > directory and leave the basename. If we were not found on the $PATH, > > leave the full path alone. > > With or without the '.exe'? Depends if "test -f foo" finds foo.exe, along with other common things that look for files.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |