opnsense-ports/shells/es/files/patch-input.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
357 B
C

*** input.c.orig Tue Aug 12 18:59:26 1997
--- input.c Thu Dec 7 18:35:01 2000
***************
*** 307,313 ****
if (in->buflen < nread) {
while (in->buflen < nread)
in->buflen *= 2;
- efree(in->bufbegin);
in->bufbegin = erealloc(in->bufbegin, in->buflen);
}
memcpy(in->bufbegin, rlinebuf, nread - 1);
--- 307,312 ----