User: michaels
Date: 05/12/04 16:46:18
Modified: packages/xemacs-packages/igrep ChangeLog igrep.el
Log:
2005-12-04 Yoichi NAKAYAMA <yoichi(a)geiin.org>
* igrep.el (igrep-find-use-xargs): Don't blindly assume everything
except Mac OS X works.
Revision Changes Path
1.19 +5 -0 XEmacs/packages/xemacs-packages/igrep/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/igrep/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- ChangeLog 2004/07/19 10:34:16 1.18
+++ ChangeLog 2005/12/04 15:46:17 1.19
@@ -1,3 +1,8 @@
+2005-12-04 Yoichi NAKAYAMA <yoichi(a)geiin.org>
+
+ * igrep.el (igrep-find-use-xargs): Don't blindly assume everything
+ except Mac OS X works.
+
2004-07-19 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.13 released.
1.9 +2 -1 XEmacs/packages/xemacs-packages/igrep/igrep.el
Index: igrep.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/igrep/igrep.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- igrep.el 2004/07/17 15:39:39 1.8
+++ igrep.el 2005/12/04 15:46:18 1.9
@@ -452,7 +452,8 @@ see `igrep-find'.")
"-e" "-0" "cat")
0))
'gnu)
- ((not (equal system-type 'darwin)))) ; not MacOS
+ ((equal (call-process "xargs" nil nil nil "-e") 0)
+ t))
"Whether `\\[igrep-find]' uses the `xargs` program or not.
If `gnu', it executes
`find ... -print0 | xargs -0 -e grep ...`;
Show replies by date