projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
from scratch; write to /dev/tty if possible, block interrupts
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
exec.c
diff --git
a/usr/src/lib/libc/gen/exec.c
b/usr/src/lib/libc/gen/exec.c
index
7a84dba
..
6ab0e1f
100644
(file)
--- a/
usr/src/lib/libc/gen/exec.c
+++ b/
usr/src/lib/libc/gen/exec.c
@@
-1,6
+1,6
@@
-#if
ndef lint
-static char sccsid[] = "@(#)exec.c 5.
1
(Berkeley) %G%";
-#endif not lint
+#if
defined(LIBC_SCCS) && !defined(lint)
+static char sccsid[] = "@(#)exec.c 5.
3
(Berkeley) %G%";
+#endif
LIBC_SCCS and
not lint
/*
* execlp(name, arg,...,0) (like execl, but does path search)
/*
* execlp(name, arg,...,0) (like execl, but does path search)
@@
-10,7
+10,7
@@
static char sccsid[] = "@(#)exec.c 5.1 (Berkeley) %G%";
#define NULL 0
static char shell[] = "/bin/sh";
#define NULL 0
static char shell[] = "/bin/sh";
-char *
execat(), *
getenv();
+char *getenv();
extern errno;
execlp(name, argv)
extern errno;
execlp(name, argv)
@@
-25,7
+25,7
@@
char *name, **argv;
char *pathstr;
register char *cp;
char fname[128];
char *pathstr;
register char *cp;
char fname[128];
- char *newargs[256];
+ char *newargs[256]
, *execat()
;
int i;
register unsigned etxtbsy = 1;
register eacces = 0;
int i;
register unsigned etxtbsy = 1;
register eacces = 0;