diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2010-11-10 22:15:55 -0600 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-11-22 19:44:10 +0100 |
commit | a208cc7bde7a9841e88840e64886f859b523ccd3 (patch) | |
tree | b87d285dd71481324b3f68a355fe10956e185c38 /system/pdksh/patches/044_Debian-emacs-crash.patch | |
parent | 6e55b80a3c5f74f63f5152c929b4bf272081b112 (diff) |
system/pdksh: Removed (use system/ksh instead)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pdksh/patches/044_Debian-emacs-crash.patch')
-rw-r--r-- | system/pdksh/patches/044_Debian-emacs-crash.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/pdksh/patches/044_Debian-emacs-crash.patch b/system/pdksh/patches/044_Debian-emacs-crash.patch deleted file mode 100644 index 047302811b..0000000000 --- a/system/pdksh/patches/044_Debian-emacs-crash.patch +++ /dev/null @@ -1,18 +0,0 @@ - * emacs.c: Fix segmentation fault bug when ksh used bash history file - (closes: #284358). -Index: pdksh-5.2.14/emacs.c -=================================================================== ---- pdksh-5.2.14.orig/emacs.c 2008-04-15 20:49:47.000000000 +0200 -+++ pdksh-5.2.14/emacs.c 2008-04-15 20:53:50.000000000 +0200 -@@ -883,9 +883,9 @@ - } - x_histp = hp; - oldsize = x_size_str(xbuf); -- (void)strcpy(xbuf, *hp); -+ (void)strncpy(xbuf, *hp, xend - xbuf - 1); - xbp = xbuf; -- xep = xcp = xbuf + strlen(*hp); -+ xep = xcp = xbuf + strlen(xbuf); - xlp_valid = FALSE; - if (xep > x_lastcp()) - x_goto(xep); |