* spawn.cc (spawn_guts): Use actual program argument passed in for argv[0] as
originally suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
This commit is contained in:
		| @@ -1,3 +1,9 @@ | |||||||
|  | Tue Sep 19 09:46:36 2000  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
|  | 	* spawn.cc (spawn_guts): Use actual program argument passed in for | ||||||
|  | 	argv[0] as originally suggested by Kazuhiro Fujieda | ||||||
|  | 	<fujieda@jaist.ac.jp>. | ||||||
|  |  | ||||||
| Mon Sep 18 23:17:19 2000  Christopher Faylor <cgf@cygnus.com> | Mon Sep 18 23:17:19 2000  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
| 	* path.h: Create new input path flag PATH_NEEDDIR. | 	* path.h: Create new input path flag PATH_NEEDDIR. | ||||||
|   | |||||||
| @@ -473,7 +473,7 @@ spawn_guts (HANDLE hToken, const char * prog_arg, const char *const *argv, | |||||||
|  |  | ||||||
|       /* Replace argv[0] with the full path to the script if this is the |       /* Replace argv[0] with the full path to the script if this is the | ||||||
| 	 first time through the loop. */ | 	 first time through the loop. */ | ||||||
|       newargv.replace0_maybe (real_path); |       newargv.replace0_maybe (prog_arg); | ||||||
| 	   | 	   | ||||||
|       /* pointers: |       /* pointers: | ||||||
|        * pgm	interpreter name |        * pgm	interpreter name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user