projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Next step: seal off the input logic.
[super-star-trek.git]
/
sst.c
diff --git
a/sst.c
b/sst.c
index d35b2556ae1407f297b0088838a2c5124b1140c0..f65a2a5e70aaabd347b0a44ce0920b63238a1080 100644
(file)
--- a/
sst.c
+++ b/
sst.c
@@
-478,7
+478,7
@@
int scan(void) {
chew();
\r
return IHEOL;
\r
}
\r
-
fgets(line, sizeof(line), stdin
);
\r
+
getline(line, sizeof(line)
);
\r
line[strlen(line)-1] = '\0';
\r
linep = line;
\r
}
\r