There seems to be a bug in the S-expression parser. When the file to be read is larger than BUFSIZ bytes (which is 1024 on my system), I get the error SEXP_ERR_INCOMPLETE (in the sexp_errno variable).
I don't know how to properly fix it, but adding the lines
#undef BUFSIZ
#define BUFSIZ 10240
after the includes in sexp.h makes the error disappear for my larger file.
There seems to be a bug in the S-expression parser. When the file to be read is larger than
BUFSIZbytes (which is 1024 on my system), I get the errorSEXP_ERR_INCOMPLETE(in thesexp_errnovariable).I don't know how to properly fix it, but adding the lines
after the includes in
sexp.hmakes the error disappear for my larger file.