components/emacs/patches/find.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 21 Jul 2016 07:05:13 -0700
branchs11u3-sru
changeset 6464 c36ab839e682
parent 2856 47b35501403f
child 4791 fb9a6b5ef98f
permissions -rw-r--r--
23527357 Remove RAW hazards in inflate() and inflate_table()

# Ensure that emacs uses GNU find. See components/emacs/README.
#
--- emacs-24.3.orig/lisp/progmodes/grep.el	2013-01-01 13:37:17.000000000 -0700
+++ emacs-24.3/lisp/progmodes/grep.el	2013-09-23 14:41:27.331614612 -0600
@@ -419,7 +419,8 @@
 This variable's value takes effect when `grep-compute-defaults' is called.")
 
 ;;;###autoload
-(defvar find-program (purecopy "find")
+;;Change from find to GNU find for Solaris, as emacs uses GNU-specific options
+(defvar find-program (purecopy "/usr/gnu/bin/find")
   "The default find program for `grep-find-command'.
 This variable's value takes effect when `grep-compute-defaults' is called.")