components/ksh93/patches/CR6919590.patch
changeset 4196 d697072a92f5
parent 4195 d88c5d15a4af
child 4197 67d7270f6817
--- a/components/ksh93/patches/CR6919590.patch	Mon Apr 13 09:25:17 2015 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
---- a/src/cmd/ksh93/sh/args.c	Thu Sep  2 22:38:27 2010
-+++ b/src/cmd/ksh93/sh/args.c	Tue Sep 27 10:48:45 2011
-@@ -26,6 +26,9 @@
-  * AT&T Labs
-  *
-  */
-+/*
-+ * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
-+ */
- 
- #include	"defs.h"
- #include	"path.h"
-@@ -302,6 +305,11 @@
- 		}
- 		else
- 		{
-+			if ((o == SH_RESTRICTED) &&
-+			    sh_isoption(SH_RESTRICTED)) {
-+				errormsg(SH_DICT, ERROR_exit(1),
-+				    e_restricted, "r");
-+			}
- 			if(o==SH_XTRACE)
- 				trace = 0;
- 			off_option(&newflags,o);