projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ソースの推敲
[YACASL2.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
048f223
..
8c9d566
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-116,7
+116,7
@@
void svcin()
return;
}
for(i = 0; i < INSIZE; i++) {
- if(
*(buf + i) == '\0' || *(buf + i)
== '\n') {
+ if(
!buf[i] || buf[i]
== '\n') {
--i;
break;
}