diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/fileio.c b/src/fileio.c index 6d7ea37f9a..767969f9c8 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -983,24 +983,9 @@ retry: * The amount is limited by the fact that read() only can read * upto max_unsigned characters (and other things). */ -#if SIZEOF_INT <= 2 - if (linerest >= 0x7ff0) { - ++split; - *ptr = NL; /* split line by inserting a NL */ - size = 1; - } else -#endif { if (!skip_read) { -#if SIZEOF_INT > 2 -# if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) - size = SSIZE_MAX; /* use max I/O size, 52K */ -# else size = 0x10000L; /* use buffer >= 64K */ -# endif -#else - size = 0x7ff0L - linerest; /* limit buffer to 32K */ -#endif for (; size >= 10; size = (long)((long_u)size >> 1)) { if ((new_buffer = lalloc((long_u)(size + linerest + 1), |