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
BSD 4_3 development
[unix-history]
/
usr
/
src
/
games
/
compat
/
unixstart.c
diff --git
a/usr/src/games/compat/unixstart.c
b/usr/src/games/compat/unixstart.c
index
ab5434a
..
b356ada
100644
(file)
--- a/
usr/src/games/compat/unixstart.c
+++ b/
usr/src/games/compat/unixstart.c
@@
-1,5
+1,9
@@
-#
-static char sccsid[] = " unixstart.c 4.1 82/05/12 ";
+#ifndef lint
+static char sccsid[] = " unixstart.c 4.2 84/05/05 ";
+#endif
+
+/* From Lou Salkind: compat/RCS/unixstart.c,v 1.2 84/01/31 13:34:27 */
+
/* Start up a version 6 or version 7 pdp-11 UNIX compatability mode
* program. Must set up the memory layout with args etc.
* Art Wetzel August 1979
/* Start up a version 6 or version 7 pdp-11 UNIX compatability mode
* program. Must set up the memory layout with args etc.
* Art Wetzel August 1979
@@
-67,14
+71,10
@@
start(argv, envp) unsigned char **argv, **envp; {
}
ssp = (unsigned short *)sp;
#ifdef V7UNIX
}
ssp = (unsigned short *)sp;
#ifdef V7UNIX
- /* clear a word */
- *(--ssp) = 0;
/* set up environment pointers */
for(i=envc; i>=0; i--) {
*(--ssp) = (short)(long)envps[i];
}
/* set up environment pointers */
for(i=envc; i>=0; i--) {
*(--ssp) = (short)(long)envps[i];
}
- /* clear another word */
- *(--ssp) = 0;
#endif
/* set up argument pointers */
for(i=argc; i>=0; i--) {
#endif
/* set up argument pointers */
for(i=argc; i>=0; i--) {