projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec48a2
)
ソースコードの微修正
author
j8takagi
<j8takagi@nifty.com>
Thu, 4 Nov 2010 01:57:05 +0000
(10:57 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Thu, 4 Nov 2010 01:57:05 +0000
(10:57 +0900)
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
32913f5
..
da6fbad
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-23,7
+23,7
@@
EXECMODE execmode = {false, false, false};
void svcin()
{
int i;
- char *buffer = malloc_chk(INSIZE + 1,"svcin.buffer");
+ char *buffer = malloc_chk(INSIZE + 1,
"svcin.buffer");
if(fgets(buffer, INSIZE, stdin) == NULL) {
sys->memory[sys->cpu->gr[1]] = sys->memory[sys->cpu->gr[2]] = 0x0;