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_Tahoe release
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
popen.c
diff --git
a/usr/src/lib/libc/gen/popen.c
b/usr/src/lib/libc/gen/popen.c
index
69f3cb4
..
633dba9
100644
(file)
--- a/
usr/src/lib/libc/gen/popen.c
+++ b/
usr/src/lib/libc/gen/popen.c
@@
-5,7
+5,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)popen.c 5.
4 (Berkeley) 3/26/86
";
+static char sccsid[] = "@(#)popen.c 5.
5 (Berkeley) 9/30/87
";
#endif LIBC_SCCS and not lint
#include <stdio.h>
#endif LIBC_SCCS and not lint
#include <stdio.h>
@@
-64,7
+64,8
@@
popen(cmd,mode)
pclose(ptr)
FILE *ptr;
{
pclose(ptr)
FILE *ptr;
{
- int child, pid, status, omask;
+ long omask;
+ int child, pid, status;
child = popen_pid[fileno(ptr)];
popen_pid[fileno(ptr)] = -1;
child = popen_pid[fileno(ptr)];
popen_pid[fileno(ptr)] = -1;