components/ksh93/patches/065-CR7110983.patch
changeset 4268 d723f8ed85fe
parent 4196 d697072a92f5
child 4305 90493abe0c5c
--- a/components/ksh93/patches/065-CR7110983.patch	Sat May 09 12:45:23 2015 -0700
+++ b/components/ksh93/patches/065-CR7110983.patch	Sun May 10 11:59:46 2015 -0700
@@ -1,6 +1,8 @@
+# This patch has been developed inhouse. This fixes a Solaris specific
+# issue and has not been submitted to the community.
 diff -r bb8978c251cb -r 6fbea5c30b60 usr/src/cmd/ast/lib/libshell/common/sh/name.c
---- a/src/cmd/ksh93/sh/name.c	Sun Mar 25 23:19:46 2012 -0700
-+++ b/src/cmd/ksh93/sh/name.c	Mon Mar 26 05:09:19 2012 -0700
+--- a/src/cmd/ksh93/sh/name.c   Sun Mar 25 23:19:46 2012 -0700
++++ b/src/cmd/ksh93/sh/name.c   Mon Mar 26 05:09:19 2012 -0700
 @@ -22,6 +22,9 @@
   * AT&T Labs
   *
@@ -9,16 +11,16 @@
 + * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 + */
  
- #define putenv	___putenv
+ #define putenv ___putenv
  
-@@ -1832,7 +1835,10 @@
- 			else
+@@ -1926,7 +1923,10 @@
  #endif
- 			if(size==0 && nv_isattr(np,NV_HOST)!=NV_HOST &&nv_isattr(np,NV_LJUST|NV_RJUST|NV_ZFILL))
-+			{
- 				nv_setsize(np,size=dot);
-+				tofree = up->cp;
-+			}
- 			else if(size > dot)
- 				dot = size;
- 			else if(nv_isattr(np,NV_LJUST|NV_RJUST)==NV_LJUST && dot>size)
+ 			{
+ 				if(size==0 && nv_isattr(np,NV_HOST)!=NV_HOST &&nv_isattr(np,NV_LJUST|NV_RJUST|NV_ZFILL))
++				{
+ 					nv_setsize(np,size=dot);
++					tofree = up->cp;
++				}
+ 				else if(size > dot)
+ 					dot = size;
+ 				else if(nv_isattr(np,NV_LJUST|NV_RJUST)==NV_LJUST && dot>size)