0c3e116cc5
revision 1.7 date: 2004/04/08 15:18:28; author: millert; state: Exp; lines: +5 -7 When reallocating the line buffer, double the existing buffer size instead of just incrementing it by LINEBUF_SIZE and use realloc() + memset() instead of calloc() + memcpy(). Prevents excessive resource usage when displaying very long lines. OK deraadt@, krw@ and otto@ Ok'd by mrg. |
||
---|---|---|
.. | ||
less | ||
lessecho | ||
lesskey | ||
less2netbsd | ||
Makefile | ||
Makefile.inc |