components/bash/patches/solaris-001.config-top.h.patch
branchs11u3-sru
changeset 7627 4758b76d5ad5
parent 115 c360825c3a3f
--- a/components/bash/patches/solaris-001.config-top.h.patch	Fri Jan 27 15:04:39 2017 -0800
+++ b/components/bash/patches/solaris-001.config-top.h.patch	Thu Jan 26 12:24:45 2017 +0100
@@ -1,10 +1,15 @@
---- config-top.h	2009-12-22 12:29:39.000000000 -0800
-+++ config-top.h	2010-09-01 10:24:03.070928602 -0700
-@@ -54,14 +54,14 @@
+# Define defaults for Solaris.
+# Solaris-specific patch.
+#
+# Not for upstream.
+
+--- config-top.h	2012-08-18 17:51:30.000000000 -0700
++++ config-top.h	2015-04-02 10:08:29.143843829 -0700
+@@ -63,14 +63,14 @@
  /* The default value of the PATH variable. */
  #ifndef DEFAULT_PATH_VALUE
  #define DEFAULT_PATH_VALUE \
--  "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
+-  "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
 +  "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:."
  #endif
  
@@ -17,8 +22,8 @@
  #endif
  
  /* Default primary and secondary prompt strings. */
-@@ -75,14 +75,14 @@
- #define KSH_COMPATIBLE_SELECT
+@@ -87,14 +87,14 @@
+ #define DEFAULT_BASHRC "~/.bashrc"
  
  /* System-wide .bashrc file for interactive shells. */
 -/* #define SYS_BASHRC "/etc/bash.bashrc" */