summaryrefslogtreecommitdiff
path: root/shells/es/files/patch-input.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:33:30 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:33:30 +0000
commit0c749620ca20c82acb61e2c13af83b4bb4ec44a1 (patch)
treefbe04fd87ec1d4825838131877648d0fab2888eb /shells/es/files/patch-input.c
parent- Fix plist (diff)
Rename shells/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'shells/es/files/patch-input.c')
-rw-r--r--shells/es/files/patch-input.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shells/es/files/patch-input.c b/shells/es/files/patch-input.c
new file mode 100644
index 000000000000..e191c67a04b3
--- /dev/null
+++ b/shells/es/files/patch-input.c
@@ -0,0 +1,13 @@
+*** 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 ----
+