-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
I'd like to read lines which has more than 8192 characters .
Currently, we can read lines until 8192 characters because of immediate in lisp/c/lispio.c.
Is there any reason to use 8192?
Any problems with the following increasing?
Index: lispio.c
===================================================================
--- lispio.c (リビジョン 669)
+++ lispio.c (作業コピー)
@@ -212,13 +212,13 @@
pointer argv[];
{ register pointer strm;
pointer eoferrorp=T,eofvalue=NIL;
- byte cb[8192];
+ byte cb[16384];
register int i=0,ch;
ckarg2(0,3);
strm=getinstream(ctx,n,argv[0]);
if (n>=2) eoferrorp=argv[1];
if (n==3) eofvalue=argv[2];
- while (i<8192) {
+ while (i<16384) {
ch=readch(strm);
if (ch=='\n') break;
else if (ch==EOF) {
Metadata
Metadata
Assignees
Labels
No labels