aboutsummaryrefslogtreecommitdiff
path: root/exec/hashexec.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-161-3/+2
| | | | * hashexec.c (check_hashbang): Fix bug in last change.
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-9/+19
| | | | | * hashexec.c (check_hashbang): Trim trailing blanks after interpreter argument.
* 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-291-1/+1
| | | | * hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
* 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-11-071-6/+6
| | | | * hashexec.c: Use mach_* instead of __mach_*.
* Thu Nov 5 15:26:50 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-051-8/+23
| | | | | | | * hashexec.c (check_hashbang): Keep INTERP_LEN with the correct value (bytes of memory holding INTERP) for later use. (check_hashbang: setup_args): Set argv[0] from the interpreter name, not copied from the existing command line.
* (check_hashbang):Miles Bader1997-02-051-3/+3
| | | | `preempter' -> `preemptor'.
* (hurd_file_name_path_lookup): Declaration removed.Miles Bader1996-06-191-12/+2
| | | | (check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.
* (search_path): Don't make PATH or PFXED_NAME const.Miles Bader1996-05-101-2/+1
|
* (check_hashbang) [userport/reauthenticate]: Use newMichael I. Bushnell1996-05-101-2/+2
| | | | | auth_user_authenticate inerface. (check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'.
* (check_hashbang): Use io_identity instead of io_stat to compare files.Roland McGrath1996-05-071-13/+13
|
* (check_hashbang: user_port): Use default root port when secure.Roland McGrath1996-04-231-2/+8
|
* (check_hashbang): Pass open flags & mode args to hurd_file_name_path_lookup.Miles Bader1996-03-281-3/+12
|
* (check_hashbang): Correctly deal with interpreter lines having no argument.Miles Bader1996-02-261-4/+12
|
* (check_hashbang): Use hash_file_name_path_lookup() instead of doing the pathMiles Bader1996-01-301-49/+14
| | | | search ourselves, and get rid of LOOKUP_CWDIR & associated logic.
* (check_hashbang):Miles Bader1996-01-111-14/+21
| | | | | | When using executable name found on the path, don't return alloca()ed memory from search_path(); use malloc() instead. Use envz_get() to search the environment.
* (check_hashbang): Rearrange arg frobbing code somewhat to useRoland McGrath1996-01-041-82/+53
| | | | hurd_catch_signal instead of old preemption interface.
* (check_hashbang): Undo boneheaded last change.Roland McGrath1995-11-211-4/+4
|
* (check_hashbang): Actually declare FILE_NAME and FILE volatile, notMichael I. Bushnell1995-11-211-2/+2
| | | | the contents.
* (check_hashbang) [prepare_args]: Declare FILE_NAME, ERROR, and NAMEMichael I. Bushnell1995-11-211-3/+3
| | | | volatile.
* (user_port): Fixed port selection logic.Roland McGrath1995-11-161-13/+20
| | | | (check_hashbang): Fixed PATH searching in script name guessing.
* (check_hashbang: prepare_args): Enable and clean up code to guess the nameRoland McGrath1995-10-181-88/+87
| | | | of the script before resorting to /dev/fd.
* (check_hashbang): Copy passed args from the right place.Roland McGrath1995-10-181-1/+2
|
* Initial revisionRoland McGrath1995-10-181-0/+442