components/ksh93/patches/065-CR7110983.patch
changeset 4305 90493abe0c5c
parent 4268 d723f8ed85fe
child 5129 5431772f7235
--- a/components/ksh93/patches/065-CR7110983.patch	Mon May 18 13:04:23 2015 -0700
+++ b/components/ksh93/patches/065-CR7110983.patch	Mon May 18 14:11:16 2015 -0700
@@ -1,8 +1,6 @@
-# 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
   *
@@ -11,16 +9,16 @@
 + * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 + */
  
- #define putenv ___putenv
+ #define putenv	___putenv
  
-@@ -1926,7 +1923,10 @@
+@@ -1832,7 +1835,10 @@
+ 			else
  #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)