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