components/ksh93/patches/17824699.patch
changeset 4196 d697072a92f5
parent 4195 d88c5d15a4af
child 4197 67d7270f6817
--- a/components/ksh93/patches/17824699.patch	Mon Apr 13 09:25:17 2015 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-http://lists.research.att.com/pipermail/ast-developers/2014q1/003807.html
----
-diff --git a/src/cmd/ksh93/edit/edit.c b/src/cmd/ksh93/edit/edit.c
-index 769ba2e..4f6330e 100644
---- a/src/cmd/ksh93/edit/edit.c
-+++ b/src/cmd/ksh93/edit/edit.c
-@@ -651,7 +651,8 @@ void	ed_setup(register Edit_t *ep, int fd, int reedit)
- 			{
- 				int skip=0;
- 				ep->e_crlf = 0;
--				*pp++ = c;
-+				if (pp < ppmax)
-+					*pp++ = c;
- 				for(n=1; c = *last++; n++)
- 				{
- 					if(pp < ppmax)
-diff --git a/src/cmd/ksh93/include/edit.h b/src/cmd/ksh93/include/edit.h
-index 795777d..145066d 100644
---- a/src/cmd/ksh93/include/edit.h
-+++ b/src/cmd/ksh93/include/edit.h
-@@ -59,7 +59,7 @@
- #endif /* SHOPT_MULTIBYTE */
- 
- #define TABSIZE	8
--#define PRSIZE	160
-+#define PRSIZE	256
- #define MAXLINE	1024		/* longest edit line permitted */
- 
- typedef struct _edit_pos
-