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_1c_2 release
[unix-history]
/
usr
/
src
/
lib
/
libc
/
stdio
/
data.c
diff --git
a/usr/src/lib/libc/stdio/data.c
b/usr/src/lib/libc/stdio/data.c
index
4792a32
..
d09f85a
100644
(file)
--- a/
usr/src/lib/libc/stdio/data.c
+++ b/
usr/src/lib/libc/stdio/data.c
@@
-1,12
+1,13
@@
-/* @(#)data.c 4.
1 (Berkeley) %G%
*/
+/* @(#)data.c 4.
2 (Berkeley) 10/5/82
*/
#include <stdio.h>
#include <stdio.h>
-char _sibuf[BUFSIZ];
-char _sobuf[BUFSIZ];
+#include <sys/param.h>
+char _sibuf[MAXBSIZE];
+char _sobuf[MAXBSIZE];
struct _iobuf _iob[_NFILE] ={
struct _iobuf _iob[_NFILE] ={
- { 0,
_sibuf, _sibuf
, _IOREAD, 0},
- { 0, NULL, NULL, _IOWRT, 1},
- { 0, NULL, NULL, _IOWRT+_IONBF, 2},
+ { 0,
NULL, NULL, NULL
, _IOREAD, 0},
+ { 0, NULL, NULL,
NULL,
_IOWRT, 1},
+ { 0, NULL, NULL,
NULL,
_IOWRT+_IONBF, 2},
};
/*
* Ptr to end of buffers
};
/*
* Ptr to end of buffers