components/ksh93/patches/CR7061011.patch
author zihao.zhu@oracle.com <zihao.zhu@oracle.com>
Fri, 07 Aug 2015 17:51:40 -0600
branchs11-update
changeset 4750 aff83d5fcb23
parent 805 23c55a2f8a8e
permissions -rw-r--r--
21577683 Incorrect TLS_CIPHER_SUITE string value in ldap.conf and slapd.conf

diff -rupN INIT.2011-02-08.clean/src/cmd/ksh93/sh/nvdisc.c INIT.2011-02-08/src/cmd/ksh93/sh/nvdisc.c
--- INIT.2011-02-08.clean/src/cmd/ksh93/sh/nvdisc.c	2012-05-02 03:46:22.725281017 -0700
+++ INIT.2011-02-08/src/cmd/ksh93/sh/nvdisc.c	2012-05-02 03:54:19.300127633 -0700
@@ -593,7 +593,7 @@ static char *setdisc(register Namval_t* 
 		action = vp->bltins[type];
 		vp->bltins[type] = 0;
 	}
-	return(action?(char*)action:"");
+	return((char*)action);
 }
 
 static void putdisc(Namval_t* np, const char* val, int flag, Namfun_t* fp)