Double line buffer size because we expect more MBCS input #1

This commit is contained in:
Thomas Jensen
2021-01-22 18:49:54 +01:00
parent 9c7f1da216
commit dcd2328c77

View File

@ -57,11 +57,11 @@
* (This should have been done via sysconf(), but I didn't do it in order * (This should have been done via sysconf(), but I didn't do it in order
* to ease porting to non-unix platforms.) * to ease porting to non-unix platforms.)
*/ */
#if defined(LINE_MAX_BYTES) && (LINE_MAX_BYTES < 1024) #if defined(LINE_MAX_BYTES) && (LINE_MAX_BYTES < 2048)
#undef LINE_MAX_BYTES #undef LINE_MAX_BYTES
#endif #endif
#ifndef LINE_MAX_BYTES #ifndef LINE_MAX_BYTES
#define LINE_MAX_BYTES 2048 #define LINE_MAX_BYTES 4096
#endif #endif