6071N/A# This patch has been developed inhouse. This fixes a Solaris specific
6071N/A# issue and has not been submitted to the community.
830N/Adiff -r bb8978c251cb -r 6fbea5c30b60 usr/src/cmd/ast/lib/libshell/common/sh/name.c
6071N/A--- a/src/cmd/ksh93/sh/name.c Sun Mar 25 23:19:46 2012 -0700
6071N/A+++ b/src/cmd/ksh93/sh/name.c Mon Mar 26 05:09:19 2012 -0700
830N/A@@ -22,6 +22,9 @@
830N/A * AT&T Labs
830N/A *
830N/A */
830N/A+/*
830N/A+ * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
830N/A+ */
830N/A
6071N/A #define putenv ___putenv
830N/A
6071N/A@@ -1926,7 +1923,10 @@
830N/A #endif
6071N/A {
6071N/A if(size==0 && nv_isattr(np,NV_HOST)!=NV_HOST &&nv_isattr(np,NV_LJUST|NV_RJUST|NV_ZFILL))
6071N/A+ {
6071N/A nv_setsize(np,size=dot);
6071N/A+ tofree = up->cp;
6071N/A+ }
6071N/A else if(size > dot)
6071N/A dot = size;
6071N/A else if(nv_isattr(np,NV_LJUST|NV_RJUST)==NV_LJUST && dot>size)