diff options
| author | tgoodwin <tgoodwin> | 1998-02-17 15:46:42 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:04 +0100 |
| commit | 67fd3c37e6908795bd86220435a37637c9e16d63 (patch) | |
| tree | 7237219ed66a726f951d0e7b5ddf0bf20c6b38b7 /execve.c | |
| parent | 063d3cc3f65f8f5b8dd636b7b8bd07e132e5aa28 (diff) | |
first stab at getting execve.c only compiled when needed
Diffstat (limited to 'execve.c')
| -rw-r--r-- | execve.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ /* execve.c: an execve() for geriatric unices without #! */ /* - NOTE: this file depends on a hack in footobar.c which places two free spots before - av[][] so that execve does not have to call malloc. + NOTE: this file depends on a hack in footobar.c which places two free + spots before av[][] so that execve does not have to call malloc. */ #include <errno.h> @@ -10,7 +10,7 @@ #define giveupif(x) { if (x) goto fail; } -extern int my_execve(char *path, char **av, char **ev) { +extern int rc_execve(char *path, char **av, char **ev) { int fd, len, fst, snd, end; bool noarg; char pb[256]; /* arbitrary but generous limit */ |