projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35e3ab
)
read 128 bytes not 2
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Tue, 4 Nov 1980 07:29:30 +0000
(23:29 -0800)
committer
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Tue, 4 Nov 1980 07:29:30 +0000
(23:29 -0800)
SCCS-vsn: old/arff/arff.c 4.2
usr/src/old/arff/arff.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/old/arff/arff.c
b/usr/src/old/arff/arff.c
index
9f1d0d3
..
80cd615
100644
(file)
--- a/
usr/src/old/arff/arff.c
+++ b/
usr/src/old/arff/arff.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)arff.c 4.
1
(Berkeley) %G%";
+static char *sccsid = "@(#)arff.c 4.
2
(Berkeley) %G%";
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
@@
-108,10
+108,10
@@
char *argv[];
{
#define SURE "Are you sure you want to clobber the floppy?\n"
int tty;
- char response[
2
];
+ char response[
128
];
tty = open("/dev/tty",2);
write(tty,SURE,sizeof(SURE));
- read(tty,response,
2
);
+ read(tty,response,
128
);
if(*response!='y')
exit(50);
flag('c')++;