summaryrefslogtreecommitdiffstats
path: root/misc/fep/files/patch-fep_edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fep/files/patch-fep_edit.c')
-rw-r--r--misc/fep/files/patch-fep_edit.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/fep/files/patch-fep_edit.c b/misc/fep/files/patch-fep_edit.c
new file mode 100644
index 0000000..f07dcd0
--- /dev/null
+++ b/misc/fep/files/patch-fep_edit.c
@@ -0,0 +1,11 @@
+--- fep_edit.c.orig Fri Jan 20 17:16:37 1995
++++ fep_edit.c Thu Mar 6 09:42:13 2003
+@@ -426,7 +426,7 @@
+
+ currentNull = strlen (CommandLine);
+
+- if (currentNull >= maxline) {
++ if (currentNull + 1 >= maxline) {
+ errorBell();
+ return (0);
+ }
OpenPOWER on IntegriCloud