aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/csx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/csx.c b/src/csx.c
index bacf0f7..c265631 100644
--- a/src/csx.c
+++ b/src/csx.c
@@ -97,6 +97,7 @@ int *csx_int(int num)
}
int *res = new(type_int, sizeof(int));
*res = num;
+ ints = new_pair(res, ints);
return res;
}
@@ -441,6 +442,8 @@ static void new_context()
static void init()
{
initiated = 1;
+ setbuf(stdin, 0);
+ setbuf(stdout, 0);
null = new(type_null, 0);
names = null;
ints = null;