summaryrefslogtreecommitdiff
path: root/xs_io.h
diff options
context:
space:
mode:
authorGravatar default2022-11-24 08:47:02 +0100
committerGravatar default2022-11-24 08:47:02 +0100
commitf2528c6c521cde213e9f7ac3e263b9736d27ef37 (patch)
treef1efdf95b1b933665ed212213abdc0cc9c5f3e56 /xs_io.h
parentRefuse to store objects that are already here. (diff)
downloadsnac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.gz
snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.tar.xz
snac2-f2528c6c521cde213e9f7ac3e263b9736d27ef37.zip
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)
79d_char *xs_readall(FILE *f) 79d_char *xs_readall(FILE *f)
80/* reads the rest of the file into a string */ 80/* reads the rest of the file into a string */
81{ 81{
82 int size = 0xfffffff; 82 int size = XS_ALL;
83 83
84 return xs_read(f, &size); 84 return xs_read(f, &size);
85} 85}