aboutsummaryrefslogtreecommitdiffstats
path: root/shells/pdksh/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2007-01-08 06:00:21 +0800
committertg <tg@FreeBSD.org>2007-01-08 06:00:21 +0800
commit4cd08090772ad139a15a4001078f24f71e568120 (patch)
treee8610fc6debda80f86249735e4584347e3a86f2d /shells/pdksh/files
parentda1b6d1d23cb1dd496807ef1c740c80ae07cd282 (diff)
downloadfreebsd-ports-graphics-4cd08090772ad139a15a4001078f24f71e568120.tar.gz
freebsd-ports-graphics-4cd08090772ad139a15a4001078f24f71e568120.tar.zst
freebsd-ports-graphics-4cd08090772ad139a15a4001078f24f71e568120.zip
Fix calculation of prompt length. Bump PORTREVISION.
PR: 107410 Submitted by: Bruce Becker <hostmaster at whois dot gts dot net>
Diffstat (limited to 'shells/pdksh/files')
-rw-r--r--shells/pdksh/files/patch-edit.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/shells/pdksh/files/patch-edit.c b/shells/pdksh/files/patch-edit.c
new file mode 100644
index 00000000000..e4f7b6ecbcc
--- /dev/null
+++ b/shells/pdksh/files/patch-edit.c
@@ -0,0 +1,10 @@
+--- edit.c.orig Thu May 13 19:04:33 1999
++++ edit.c Sun Jan 7 22:48:23 2007
+@@ -344,6 +344,7 @@
+ */
+ if (*cp && cp[1] == '\r') {
+ delimiter = *cp;
++ indelimit = !indelimit;
+ cp += 2;
+ }
+