summaryrefslogtreecommitdiff
path: root/execve.c
diff options
context:
space:
mode:
authorToby Goodwin <tjg@star.le.ac.uk>1999-01-11 10:55:18 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:09 +0100
commite11c7df86144bed383ac6bbeaecc3017d18b37db (patch)
tree6fad44921723eab2f2eb1c76b7214b4e79b818f3 /execve.c
parent671e1e2d1599aa8c5f1010b3fe75c151c56a7403 (diff)
beta: rc-1.5b4
Diffstat (limited to 'execve.c')
-rw-r--r--execve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/execve.c b/execve.c
index b21b30c..3fb5cc1 100644
--- a/execve.c
+++ b/execve.c
@@ -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(const char *path, const char **av, const 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 */