summaryrefslogtreecommitdiff
path: root/xs_io.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-24 08:47:02 +0100
committerdefault <nobody@localhost>2022-11-24 08:47:02 +0100
commitf2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch)
treef1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_io.h
parent1941d00650df6d6189d4d01fd4f268de7920a5a1 (diff)
Backport from xs.
Diffstat (limited to 'xs_io.h')
-rw-r--r--xs_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_io.h b/xs_io.h
index 9649484..6112dcb 100644
--- a/xs_io.h
+++ b/xs_io.h
@@ -79,7 +79,7 @@ d_char *xs_read(FILE *f, int *sz)
d_char *xs_readall(FILE *f)
/* reads the rest of the file into a string */
{
- int size = 0xfffffff;
+ int size = XS_ALL;
return xs_read(f, &size);
}