<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-23988</id>
	<title>Nabble - Gnu - FindUtils</title>
	<updated>2009-12-08T16:52:12Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---FindUtils-f23988.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---FindUtils-f23988.html" />
	<subtitle type="html">The &lt;a href=&quot;http://www.gnu.org/software/findutils/findutils.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;GNU Find Utilities&lt;/a&gt;&amp;nbsp;are the basic directory searching utilities of the GNU operating system. These programs are typically used in conjunction with other programs to provide modular and powerful directory search and file locating capabilities to other commands.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26703481</id>
	<title>[bug #28237] strange behavior (maybe a bug, maybe not...)</title>
	<published>2009-12-08T16:52:12Z</published>
	<updated>2009-12-08T16:52:12Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?28237&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?28237&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: strange behavior (maybe a bug, maybe not...)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: findutils
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: antoniomac5
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Wed 09 Dec 2009 00:52:11 GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: find
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Originator Name: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Originator Email: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Release: 4.4.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fixed Release: None
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;$ mkdir &amp;quot;spa ce&amp;quot; new$'\n'line
&lt;br&gt;&lt;br&gt;$ touch &amp;quot;spa ce/spa ce&amp;quot;
&lt;br&gt;&lt;br&gt;$ touch new$'\n'line/new$'\n'line
&lt;br&gt;&lt;br&gt;$ find . -depth -regextype posix-egrep -regex &amp;quot;.*[[:cntrl:] ].*&amp;quot; -execdir
&lt;br&gt;rename 's/[[:cntrl:] ]/_/g' {} \; 
&lt;br&gt;&lt;br&gt;$ ls -bR
&lt;br&gt;.:
&lt;br&gt;new_line/ &amp;nbsp;spa_ce/
&lt;br&gt;&lt;br&gt;./new_line:
&lt;br&gt;new\nline
&lt;br&gt;&lt;br&gt;./spa_ce:
&lt;br&gt;spa_ce
&lt;br&gt;&lt;br&gt;##################
&lt;br&gt;&lt;br&gt;rename (prename) alone works good
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?28237&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?28237&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28237--strange-behavior-%28maybe-a-bug%2C-maybe-not...%29-tp26703481p26703481.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650693</id>
	<title>[bug #26868] compilation Error on Solsaris x86_64: pred.c:662: error: wrong type argument to unary minus</title>
	<published>2009-12-04T15:02:15Z</published>
	<updated>2009-12-04T15:02:15Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #26868 (project findutils):
&lt;br&gt;&lt;br&gt;Actually, this may be an instance of the bug that gnulib commit 833333 was
&lt;br&gt;designed to fix. &amp;nbsp;In other words, the Solaris bug is that HUGE_VAL was defined
&lt;br&gt;as a function address rather than a floating point constant, so
&lt;br&gt;(-1.0*HUGE_VAL) will be just as much of a syntax error as -HUGE_VAL. &amp;nbsp;And if
&lt;br&gt;I'm correct, you should revert commit 8ba9443ed5 from findutils, and instead
&lt;br&gt;merely assure that you are using the gnulib module math from a new enough
&lt;br&gt;snapshot of gnulib. &amp;nbsp;But I don't have access to an x86_64 Solaris machine to
&lt;br&gt;quickly confirm this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?26868&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?26868&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--26868--compilation-Error-on-Solsaris-x86_64%3A-pred.c%3A662%3A-error%3A-wrong-type-argument-to-unary-minus-tp24146155p26650693.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650312</id>
	<title>Re: [PATCH] Fix Savannah bug #26868: compilation error on Solaris x86_64.</title>
	<published>2009-12-04T14:28:55Z</published>
	<updated>2009-12-04T14:28:55Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">On Fri, Dec 4, 2009 at 7:48 PM, Eric Blake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;&amp;gt; Hash: SHA1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; According to James Youngman on 12/4/2009 11:36 AM:
&lt;br&gt;&amp;gt;&amp;gt; * find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;&amp;gt;&amp;gt; -HUGE_VAL to avoid compilation error on Solaris x86_64.  This
&lt;br&gt;&amp;gt;&amp;gt; avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;&amp;gt;&amp;gt; * NEWS: Mention this change.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this something that gnulib's math.h could work around?
&lt;/div&gt;&lt;/div&gt;Yes, it looks like it is. &amp;nbsp; Good call. &amp;nbsp; So I just pushed the attached
&lt;br&gt;patch instead of the one I posted earlier.
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[0001-Fix-Savannah-bug-26868-compilation-error-in-pred.c.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;From 8ba9443ed5006c4031399c114a8fdfb0421ed5df Mon Sep 17 00:00:00 2001
&lt;br&gt;From: James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 4 Dec 2009 22:24:47 +0000
&lt;br&gt;Subject: [PATCH] Fix Savannah bug #26868: compilation error in pred.c on Solaris x86_64.
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;findutils-patches@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;* import-gnulib.config (modules): Include gnulib's math module, to
&lt;br&gt;avoid a compilation error for &amp;quot;-HUGE_VAL&amp;quot; on Solaris x86_64.
&lt;br&gt;* NEWS: Mention this change.
&lt;br&gt;&lt;br&gt;Signed-off-by: James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;8 ++++++++
&lt;br&gt;&amp;nbsp;NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 ++
&lt;br&gt;&amp;nbsp;import-gnulib.config | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;3 files changed, 11 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 3deeb07..89a4075 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,11 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Fix Savannah bug #26868: compilation error in pred.c on Solaris
&lt;br&gt;+	x86_64.
&lt;br&gt;+	* import-gnulib.config (modules): Include gnulib's math module, to
&lt;br&gt;+	avoid a compilation error for &amp;quot;-HUGE_VAL&amp;quot; on Solaris x86_64.
&lt;br&gt;+	* NEWS: Mention this change.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-11-29 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* find/testsuite/find.posix/exec-nogaps.exp: New test for find
&lt;br&gt;diff --git a/NEWS b/NEWS
&lt;br&gt;index c99faa6..d78d1d6 100644
&lt;br&gt;--- a/NEWS
&lt;br&gt;+++ b/NEWS
&lt;br&gt;@@ -10,6 +10,8 @@ GNU findutils NEWS - User visible changes.	-*- outline -*- (allout)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#27017: find -D opt / -fstype ext3 -print , -quit coredumps.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#26868: compilation error in pred.c on Solaris x86_64
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#24873: Duplicate fprint option corrupts output
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#23920: warn about un-matchable -path arguments ending in /.
&lt;br&gt;diff --git a/import-gnulib.config b/import-gnulib.config
&lt;br&gt;index 10d85ac..44e6b02 100644
&lt;br&gt;--- a/import-gnulib.config
&lt;br&gt;+++ b/import-gnulib.config
&lt;br&gt;@@ -52,6 +52,7 @@ inline
&lt;br&gt;&amp;nbsp;inttypes
&lt;br&gt;&amp;nbsp;lstat
&lt;br&gt;&amp;nbsp;malloc
&lt;br&gt;+math
&lt;br&gt;&amp;nbsp;mbrtowc
&lt;br&gt;&amp;nbsp;mbscasestr
&lt;br&gt;&amp;nbsp;mbsstr
&lt;br&gt;-- 
&lt;br&gt;1.5.6.5
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Findutils-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26650312&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Findutils-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/findutils-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/findutils-patches&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GNU---FindUtils---Patches-f23987.html&quot; embed=&quot;fixTarget[23987]&quot; target=&quot;_top&quot; &gt;GNU - FindUtils - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fix-Savannah-bug--26868%3A-compilation-error-on-Solaris-x86_64.-tp26647116p26650312.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26650310</id>
	<title>[bug #26868] compilation Error on Solsaris x86_64: pred.c:662: error: wrong type argument to unary minus</title>
	<published>2009-12-04T14:25:44Z</published>
	<updated>2009-12-04T14:25:44Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #26868 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ready For Test =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?26868&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?26868&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--26868--compilation-Error-on-Solsaris-x86_64%3A-pred.c%3A662%3A-error%3A-wrong-type-argument-to-unary-minus-tp24146155p26650310.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648203</id>
	<title>Re: [PATCH] Fix Savannah bug #26868: compilation error on Solaris x86_64.</title>
	<published>2009-12-04T11:48:46Z</published>
	<updated>2009-12-04T11:48:46Z</updated>
	<author>
		<name>Eric Blake</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;According to James Youngman on 12/4/2009 11:36 AM:
&lt;br&gt;&amp;gt; * find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;&amp;gt; -HUGE_VAL to avoid compilation error on Solaris x86_64. &amp;nbsp;This
&lt;br&gt;&amp;gt; avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;&amp;gt; * NEWS: Mention this change.
&lt;br&gt;&lt;br&gt;Is this something that gnulib's math.h could work around?
&lt;br&gt;&lt;br&gt;- --
&lt;br&gt;Don't work too hard, make some time for fun as well!
&lt;br&gt;&lt;br&gt;Eric Blake &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.9 (Cygwin)
&lt;br&gt;Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
&lt;br&gt;Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;iEYEARECAAYFAksZZ54ACgkQ84KuGfSFAYAwZgCfZlqhuXeqmLVYyF2udkP+knGJ
&lt;br&gt;1qMAnRYno6WACKPxsrUzPX3jiMh1qPBT
&lt;br&gt;=NvIl
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Findutils-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648203&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Findutils-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/findutils-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/findutils-patches&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GNU---FindUtils---Patches-f23987.html&quot; embed=&quot;fixTarget[23987]&quot; target=&quot;_top&quot; &gt;GNU - FindUtils - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fix-Savannah-bug--26868%3A-compilation-error-on-Solaris-x86_64.-tp26647116p26648203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647377</id>
	<title>[bug #26868] compilation Error on Solsaris x86_64: pred.c:662: error: wrong type argument to unary minus</title>
	<published>2009-12-04T10:51:51Z</published>
	<updated>2009-12-04T10:51:51Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #26868 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Ready For Test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #2:
&lt;br&gt;&lt;br&gt;Despite the lack of response, I mailed a patch to the mailing list.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?26868&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?26868&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--26868--compilation-Error-on-Solsaris-x86_64%3A-pred.c%3A662%3A-error%3A-wrong-type-argument-to-unary-minus-tp24146155p26647377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647112</id>
	<title>[PATCH] Fix Savannah bug #26868: compilation error on Solaris x86_64.</title>
	<published>2009-12-04T10:36:16Z</published>
	<updated>2009-12-04T10:36:16Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">* find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;-HUGE_VAL to avoid compilation error on Solaris x86_64. &amp;nbsp;This
&lt;br&gt;avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;* NEWS: Mention this change.
&lt;br&gt;&lt;br&gt;Signed-off-by: James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647112&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 ++++++++
&lt;br&gt;&amp;nbsp;NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 ++
&lt;br&gt;&amp;nbsp;find/pred.c | &amp;nbsp; &amp;nbsp;4 +++-
&lt;br&gt;&amp;nbsp;3 files changed, 13 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 3deeb07..7f79155 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,11 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647112&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Fix Savannah bug #26868: compilation error on Solaris x86_64.
&lt;br&gt;+	* find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;+	-HUGE_VAL to avoid compilation error on Solaris x86_64. &amp;nbsp;This
&lt;br&gt;+	avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;+	* NEWS: Mention this change.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-11-29 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647112&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* find/testsuite/find.posix/exec-nogaps.exp: New test for find
&lt;br&gt;diff --git a/NEWS b/NEWS
&lt;br&gt;index c99faa6..d372005 100644
&lt;br&gt;--- a/NEWS
&lt;br&gt;+++ b/NEWS
&lt;br&gt;@@ -10,6 +10,8 @@ GNU findutils NEWS - User visible changes.	-*- outline -*- (allout)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#27017: find -D opt / -fstype ext3 -print , -quit coredumps.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#26868: compilation Error on Solaris x86_64: wrong type argument to unary minus
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#24873: Duplicate fprint option corrupts output
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#23920: warn about un-matchable -path arguments ending in /.
&lt;br&gt;diff --git a/find/pred.c b/find/pred.c
&lt;br&gt;index 4e59642..4a3daca 100644
&lt;br&gt;--- a/find/pred.c
&lt;br&gt;+++ b/find/pred.c
&lt;br&gt;@@ -668,8 +668,10 @@ file_sparseness(const struct stat *p)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (0 == p-&amp;gt;st_blocks)
&lt;br&gt;&amp;nbsp;	return 1.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (p-&amp;gt;st_blocks &amp;lt; 0)
&lt;br&gt;+	return -1.0*HUGE_VAL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;-	return p-&amp;gt;st_blocks &amp;lt; 0 ? -HUGE_VAL : HUGE_VAL;
&lt;br&gt;+	return HUGE_VAL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-- 
&lt;br&gt;1.5.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fix-Savannah-bug--26868%3A-compilation-error-on-Solaris-x86_64.-tp26647112p26647112.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26647116</id>
	<title>[PATCH] Fix Savannah bug #26868: compilation error on Solaris x86_64.</title>
	<published>2009-12-04T10:36:16Z</published>
	<updated>2009-12-04T10:36:16Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">* find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;-HUGE_VAL to avoid compilation error on Solaris x86_64. &amp;nbsp;This
&lt;br&gt;avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;* NEWS: Mention this change.
&lt;br&gt;&lt;br&gt;Signed-off-by: James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 ++++++++
&lt;br&gt;&amp;nbsp;NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 ++
&lt;br&gt;&amp;nbsp;find/pred.c | &amp;nbsp; &amp;nbsp;4 +++-
&lt;br&gt;&amp;nbsp;3 files changed, 13 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 3deeb07..7f79155 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,11 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647116&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Fix Savannah bug #26868: compilation error on Solaris x86_64.
&lt;br&gt;+	* find/pred.c (file_sparseness): Use -1.0*HUGE_VAL rather than
&lt;br&gt;+	-HUGE_VAL to avoid compilation error on Solaris x86_64. &amp;nbsp;This
&lt;br&gt;+	avoids a &amp;quot;wrong type argument to unary minus&amp;quot; compiler error.
&lt;br&gt;+	* NEWS: Mention this change.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-11-29 &amp;nbsp;James Youngman &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647116&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	* find/testsuite/find.posix/exec-nogaps.exp: New test for find
&lt;br&gt;diff --git a/NEWS b/NEWS
&lt;br&gt;index c99faa6..d372005 100644
&lt;br&gt;--- a/NEWS
&lt;br&gt;+++ b/NEWS
&lt;br&gt;@@ -10,6 +10,8 @@ GNU findutils NEWS - User visible changes.	-*- outline -*- (allout)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#27017: find -D opt / -fstype ext3 -print , -quit coredumps.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#26868: compilation Error on Solaris x86_64: wrong type argument to unary minus
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#24873: Duplicate fprint option corrupts output
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#23920: warn about un-matchable -path arguments ending in /.
&lt;br&gt;diff --git a/find/pred.c b/find/pred.c
&lt;br&gt;index 4e59642..4a3daca 100644
&lt;br&gt;--- a/find/pred.c
&lt;br&gt;+++ b/find/pred.c
&lt;br&gt;@@ -668,8 +668,10 @@ file_sparseness(const struct stat *p)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (0 == p-&amp;gt;st_blocks)
&lt;br&gt;&amp;nbsp;	return 1.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (p-&amp;gt;st_blocks &amp;lt; 0)
&lt;br&gt;+	return -1.0*HUGE_VAL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;-	return p-&amp;gt;st_blocks &amp;lt; 0 ? -HUGE_VAL : HUGE_VAL;
&lt;br&gt;+	return HUGE_VAL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-- 
&lt;br&gt;1.5.6.5
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Findutils-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26647116&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Findutils-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/findutils-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/findutils-patches&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GNU---FindUtils---Patches-f23987.html&quot; embed=&quot;fixTarget[23987]&quot; target=&quot;_top&quot; &gt;GNU - FindUtils - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fix-Savannah-bug--26868%3A-compilation-error-on-Solaris-x86_64.-tp26647116p26647116.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646601</id>
	<title>[bug #26701] if there are any funny characters, * no longer matches in certain locales</title>
	<published>2009-12-04T09:28:07Z</published>
	<updated>2009-12-04T09:28:07Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #26701 (project findutils):
&lt;br&gt;&lt;br&gt;All that's lacking here is a short shell script to reproduce the problem on a
&lt;br&gt;recent findutils version (for example 4.5.5).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?26701&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?26701&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--26701--if-there-are-any-funny-characters%2C-*-no-longer-matches-in-certain-locales-tp23751013p26646601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645126</id>
	<title>[bug #27846] [findutils-4.5.5] assertion failure on aix in xargs.c line 442 on AIX</title>
	<published>2009-12-04T08:27:24Z</published>
	<updated>2009-12-04T08:27:24Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27846 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; In Progress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27846&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27846&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27846---findutils-4.5.5--assertion-failure-on-aix-in-xargs.c-line-442-on-AIX-tp26111392p26645126.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26635118</id>
	<title>[bug #27757] findutils and Time Machine, two great tastes that don't go great together</title>
	<published>2009-12-03T15:28:53Z</published>
	<updated>2009-12-03T15:28:53Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #5, bug #27757 (project findutils):
&lt;br&gt;&lt;br&gt;Thanks for the educational info!
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27757&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27757&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27757--findutils-and-Time-Machine%2C-two-great-tastes-that-don%27t-go-great-together-tp25964732p26635118.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26634996</id>
	<title>[bug #27757] findutils and Time Machine, two great tastes that don't go great together</title>
	<published>2009-12-03T15:17:28Z</published>
	<updated>2009-12-03T15:17:28Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #4, bug #27757 (project findutils):
&lt;br&gt;&lt;br&gt;POSIX explicitly allows but does not require hard links to directories, and
&lt;br&gt;leaves it up to the implementation whether they will allow this behavior (and
&lt;br&gt;even on systems where it is allowed, POSIX also allows restricting the
&lt;br&gt;creation of directory hard-links to privileged users). &amp;nbsp;POSIX also requires
&lt;br&gt;that find detect any file system cycles (whether by directory hard links on
&lt;br&gt;systems where they are supported, or when using find -L on cyclical symlinks
&lt;br&gt;which can occur on all POSIX systems) rather than going into an infinite
&lt;br&gt;loop.
&lt;br&gt;&lt;br&gt;Newer findutils uses gnulib's enhanced fts() API, which is supposed to detect
&lt;br&gt;file system loops (due to directory hard links), and avoid infinite loops. 
&lt;br&gt;Your original test of findutils 4.2.20 used a hand-rolled iterator rather than
&lt;br&gt;fts(), so it may indeed be a bug that has been fixed in the meantime.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27757&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27757&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27757--findutils-and-Time-Machine%2C-two-great-tastes-that-don%27t-go-great-together-tp25964732p26634996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26631333</id>
	<title>[bug #27757] findutils and Time Machine, two great tastes that don't go great together</title>
	<published>2009-12-03T11:02:34Z</published>
	<updated>2009-12-03T11:02:34Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #27757 (project findutils):
&lt;br&gt;&lt;br&gt;When I have a chance, I'll try to build findutils on my Mac and see if the
&lt;br&gt;problem still exists. Unfortunately, I'm extremely busy at a new job at the
&lt;br&gt;moment.
&lt;br&gt;&lt;br&gt;I can't imagine, however, that if nothing were done specifically to avoid
&lt;br&gt;Time Machine filesystems, that the problem could have gone away on its own.
&lt;br&gt;Running 'find' nightly on a filesystem that allows hard links to directories
&lt;br&gt;can never be a good thing. Not unless find has somehow been modified to be
&lt;br&gt;smart about such things. But hard links to directories have never been allowed
&lt;br&gt;in a Posix-compliant filesystem, have they?
&lt;br&gt;&lt;br&gt;Also, one typically wouldn't want to have the contents of a Time Machine
&lt;br&gt;filesystem cluttering up one's &amp;quot;locate&amp;quot; results anyway, even if it could be
&lt;br&gt;made to work.
&lt;br&gt;&lt;br&gt;Re the request for more information: I'm not sure what additional info you
&lt;br&gt;require. It's not easy to gather more information; I don't recall if there was
&lt;br&gt;even a comprehensible panic message in the log file. Instead of working from
&lt;br&gt;log files, I used the scientific method. I was able to deduce the cause of the
&lt;br&gt;problem due to the fact that the Mac would reliably crash every night in the
&lt;br&gt;wee hours of the morning, when the &amp;quot;locate&amp;quot; database was being updated. I
&lt;br&gt;hypothesized that &amp;quot;find&amp;quot; would use up an infinite amount of system resources
&lt;br&gt;if it were asked to infinitely recurse on a filesystem that allows directory
&lt;br&gt;loops. I turned off my Time Machine disk drive and the problem went away. I
&lt;br&gt;turned it back on &amp;nbsp;and the problem came back. I then went into the anacron
&lt;br&gt;config file that ran the nightly &amp;quot;locate&amp;quot; db find, and commented out the
&lt;br&gt;offending line. The problem went away.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27757&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27757&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27757--findutils-and-Time-Machine%2C-two-great-tastes-that-don%27t-go-great-together-tp25964732p26631333.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618752</id>
	<title>[bug #26885] -size checks filesize, not blocks-used-in-filesystem.</title>
	<published>2009-12-02T14:36:37Z</published>
	<updated>2009-12-02T14:36:37Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #26885 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Need Info =&amp;gt; Needs Assignment &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?26885&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?26885&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--26885---size-checks-filesize%2C-not-blocks-used-in-filesystem.-tp24205425p26618752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618736</id>
	<title>[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()</title>
	<published>2009-12-02T14:33:28Z</published>
	<updated>2009-12-02T14:33:28Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27328 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Need Info =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #6:
&lt;br&gt;&lt;br&gt;I've applied and pushed the patch now.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27328&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27328--find-4.5.5--exec-%2B-segfaults-in-quotearg_buffer_restyled%28%29-tp25167693p26618736.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618733</id>
	<title>[bug #27975] Infinite loop for -exec [..] {} +</title>
	<published>2009-12-02T14:32:58Z</published>
	<updated>2009-12-02T14:32:58Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27975 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In Progress =&amp;gt; Fixed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #4:
&lt;br&gt;&lt;br&gt;I've applied and pushed the patch now.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27975&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27975&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27975--Infinite-loop-for--exec--..--%7B%7D-%2B-tp26259004p26618733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567361</id>
	<title>Re: [PATCH] Fix Savannah bug#27328, segfault if the initial exec for &quot;find -exec&quot; fails.</title>
	<published>2009-11-29T15:06:50Z</published>
	<updated>2009-11-29T15:06:50Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 2:57 PM, James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567361&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 2009-11-29  James Youngman  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567361&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        Fix Savannah bug#27328, segfault if the initial exec for &amp;quot;find
&lt;br&gt;&amp;gt;        -exec&amp;quot; fails.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The patch seems to work OK for the cases I tested and for the two
&lt;br&gt;bugs, which is encouraging. &amp;nbsp;I'll give people on the list a couple of
&lt;br&gt;days to review it (It'll be Tuesday before I get to work on this some
&lt;br&gt;more) and then apply to the trunk.
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Fix-Savannah-bug-27328%2C-segfault-if-the-initial-exec-for-%22find--exec%22-fails.-tp26562729p26567361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567358</id>
	<title>Re: [PATCH] Fix Savannah bug#27328, segfault if the initial exec for &quot;find -exec&quot; fails.</title>
	<published>2009-11-29T15:06:50Z</published>
	<updated>2009-11-29T15:06:50Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 2:57 PM, James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567358&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 2009-11-29  James Youngman  &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567358&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        Fix Savannah bug#27328, segfault if the initial exec for &amp;quot;find
&lt;br&gt;&amp;gt;        -exec&amp;quot; fails.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The patch seems to work OK for the cases I tested and for the two
&lt;br&gt;bugs, which is encouraging. &amp;nbsp;I'll give people on the list a couple of
&lt;br&gt;days to review it (It'll be Tuesday before I get to work on this some
&lt;br&gt;more) and then apply to the trunk.
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Findutils-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567358&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Findutils-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/findutils-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/findutils-patches&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/GNU---FindUtils---Patches-f23987.html&quot; embed=&quot;fixTarget[23987]&quot; target=&quot;_top&quot; &gt;GNU - FindUtils - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--PATCH--Fix-Savannah-bug-27328%2C-segfault-if-the-initial-exec-for-%22find--exec%22-fails.-tp26567358p26567358.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564680</id>
	<title>[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()</title>
	<published>2009-11-29T10:37:20Z</published>
	<updated>2009-11-29T10:37:20Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #5, bug #27328 (project findutils):
&lt;br&gt;&lt;br&gt;findutils 4.5.5 freshly compiled crashes. &amp;nbsp;applying just that patch and it no
&lt;br&gt;longer crashes.
&lt;br&gt;&lt;br&gt;i hit this issue a few times on and off (sometimes it'd segfault, sometimes
&lt;br&gt;it'd hang). &amp;nbsp;when i hit these cases again, i'll try the patched find to make
&lt;br&gt;sure it fixes the issues.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27328&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27328--find-4.5.5--exec-%2B-segfaults-in-quotearg_buffer_restyled%28%29-tp25167693p26564680.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563646</id>
	<title>[bug #27975] Infinite loop for -exec [..] {} +</title>
	<published>2009-11-29T08:45:42Z</published>
	<updated>2009-11-29T08:45:42Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27975 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Need Info =&amp;gt; In Progress &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #3:
&lt;br&gt;&lt;br&gt;Thanks for the fast feedback.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27975&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27975&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27975--Infinite-loop-for--exec--..--%7B%7D-%2B-tp26259004p26563646.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563203</id>
	<title>[bug #27975] Infinite loop for -exec [..] {} +</title>
	<published>2009-11-29T07:58:24Z</published>
	<updated>2009-11-29T07:58:24Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #2, bug #27975 (project findutils):
&lt;br&gt;&lt;br&gt;Your patch appears to fix this indeed.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27975&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27975&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27975--Infinite-loop-for--exec--..--%7B%7D-%2B-tp26259004p26563203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562972</id>
	<title>[bug #27757] findutils and Time Machine, two great tastes that don't go great together</title>
	<published>2009-11-29T07:29:31Z</published>
	<updated>2009-11-29T07:29:31Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27757 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Need Info =&amp;gt; Wont Fix &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open =&amp;gt; Closed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #2:
&lt;br&gt;&lt;br&gt;Nobody indicated they could investigate this and you didn't respond on the
&lt;br&gt;question of whether this problem exists in recent releases of findutils, so
&lt;br&gt;I'm going to mark the bug as obsolete. &amp;nbsp;Please reopen if you can reproduce the
&lt;br&gt;bug on findutils 4.5.x. &amp;nbsp; Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27757&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27757&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27757--findutils-and-Time-Machine%2C-two-great-tastes-that-don%27t-go-great-together-tp25964732p26562972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562955</id>
	<title>[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()</title>
	<published>2009-11-29T07:26:57Z</published>
	<updated>2009-11-29T07:26:57Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27328 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Need Info &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; jay &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27328&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27328--find-4.5.5--exec-%2B-segfaults-in-quotearg_buffer_restyled%28%29-tp25167693p26562955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562949</id>
	<title>[bug #27846] [findutils-4.5.5] assertion failure on aix in xargs.c line 442 on AIX</title>
	<published>2009-11-29T07:26:31Z</published>
	<updated>2009-11-29T07:26:31Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27846 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; jay &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27846&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27846&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27846---findutils-4.5.5--assertion-failure-on-aix-in-xargs.c-line-442-on-AIX-tp26111392p26562949.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562944</id>
	<title>[bug #27975] Infinite loop for -exec [..] {} +</title>
	<published>2009-11-29T07:25:58Z</published>
	<updated>2009-11-29T07:25:58Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Update of bug #27975 (project findutils):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None =&amp;gt; Need Info &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Follow-up Comment #1:
&lt;br&gt;&lt;br&gt;I've attached a patch (against the current git head) to bug #27328. &amp;nbsp;Could
&lt;br&gt;you let me know if it resolves this problem too?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27975&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27975&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27975--Infinite-loop-for--exec--..--%7B%7D-%2B-tp26259004p26562944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562726</id>
	<title>[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()</title>
	<published>2009-11-29T06:56:29Z</published>
	<updated>2009-11-29T06:56:29Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #4, bug #27328 (project findutils):
&lt;br&gt;&lt;br&gt;Please try the attached patch and let me know if it resolves your problem. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;(file #19150)
&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Additional Item Attachment:
&lt;br&gt;&lt;br&gt;File name: 0001-Fix-Savannah-bug-27328-segfault-if-the-initial-exec.patch
&lt;br&gt;Size:23 KB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27328&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27328--find-4.5.5--exec-%2B-segfaults-in-quotearg_buffer_restyled%28%29-tp25167693p26562726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555947</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-28T11:01:05Z</published>
	<updated>2009-11-28T11:01:05Z</updated>
	<author>
		<name>Eric Blake</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;According to Peng Yu on 11/28/2009 9:18 AM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; If find is considering the file /tmp/a/foo.sh, it runs this shell command...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; with $1 set to /tmp/a/foo.sh. &amp;nbsp; &amp;nbsp;To see that work, type this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; set /tmp/a/foo.sh
&lt;br&gt;&amp;gt;&amp;gt; test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;&amp;gt;&amp;gt; echo $?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I know that {} takes the matched .sh file. I still don't understand
&lt;br&gt;&amp;gt; how the second 'sh' before '{}' work. Would you please let me know?
&lt;/div&gt;&lt;br&gt;'man bash'
&lt;br&gt;&lt;br&gt;/bin/sh (or any other decent shell, like bash, dash, zsh), when invoked
&lt;br&gt;with the arguments &amp;quot;-c script name arg1 arg2 ...&amp;quot;, runs script with $0 set
&lt;br&gt;to name, and $1 set to arg1. &amp;nbsp;We don't really care about $0 in this case,
&lt;br&gt;but must stick something there (sh, in the above example) so we can get to
&lt;br&gt;the arg1 slot that we care about. &amp;nbsp;And we MUST use the arg1 slot, rather
&lt;br&gt;than using {} inside script, to properly account for quoting issues
&lt;br&gt;(consider if the name contains a ').
&lt;br&gt;&lt;br&gt;- --
&lt;br&gt;Don't work too hard, make some time for fun as well!
&lt;br&gt;&lt;br&gt;Eric Blake &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555947&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.9 (Cygwin)
&lt;br&gt;Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
&lt;br&gt;Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;iEYEARECAAYFAksRc3EACgkQ84KuGfSFAYDQnwCaAzuOPyT01FHhMrgS2v5Qga0C
&lt;br&gt;8/EAnil+4XgtmbOTn3TfdLsD5wnCzwnY
&lt;br&gt;=8oB3
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26555947.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26554768</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-28T08:18:11Z</published>
	<updated>2009-11-28T08:18:11Z</updated>
	<author>
		<name>Peng Yu</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 4:12 AM, James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554768&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 12:09 AM, Peng Yu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554768&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengyu.ut@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Fri, Nov 27, 2009 at 2:54 PM, Eric Blake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554768&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; find -name '*.py' -print -o -name '*.sh' \
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  -exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \; -print
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I don't quite understand how the command after -exec works. Would you
&lt;br&gt;&amp;gt;&amp;gt; please let me know how &amp;quot;-exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \;
&lt;br&gt;&amp;gt;&amp;gt; -print&amp;quot; works?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If find is considering the file /tmp/a/foo.sh, it runs this shell command...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; with $1 set to /tmp/a/foo.sh.    To see that work, type this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; set /tmp/a/foo.sh
&lt;br&gt;&amp;gt; test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;&amp;gt; echo $?
&lt;/div&gt;&lt;br&gt;I know that {} takes the matched .sh file. I still don't understand
&lt;br&gt;how the second 'sh' before '{}' work. Would you please let me know?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; To understand in more detail, please read the documentation for the
&lt;br&gt;&amp;gt; shell (it's a feature of the GNU/Linux system, it's not built into
&lt;br&gt;&amp;gt; find).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The -exec primary succeeds if the shell command returns 0, that is, if
&lt;br&gt;&amp;gt; the .py file exists.    If the -exec primary succeeds, then the -print
&lt;br&gt;&amp;gt; primary will be executed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Eric's answer combines find with other Unix tools.    Understanding
&lt;br&gt;&amp;gt; Unix shell programming more generally is essential to making good use
&lt;br&gt;&amp;gt; of find, especially in the case of more complex tasks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; James.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26554768.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551765</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-28T02:12:06Z</published>
	<updated>2009-11-28T02:12:06Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 12:09 AM, Peng Yu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengyu.ut@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Fri, Nov 27, 2009 at 2:54 PM, Eric Blake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; find -name '*.py' -print -o -name '*.sh' \
&lt;br&gt;&amp;gt;&amp;gt;  -exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \; -print
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't quite understand how the command after -exec works. Would you
&lt;br&gt;&amp;gt; please let me know how &amp;quot;-exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \;
&lt;br&gt;&amp;gt; -print&amp;quot; works?
&lt;br&gt;&lt;br&gt;If find is considering the file /tmp/a/foo.sh, it runs this shell command...
&lt;br&gt;&lt;br&gt;test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;&lt;br&gt;with $1 set to /tmp/a/foo.sh. &amp;nbsp; &amp;nbsp;To see that work, type this:
&lt;br&gt;&lt;br&gt;set /tmp/a/foo.sh
&lt;br&gt;test ! -f &amp;quot;${1%.sh}.py&amp;quot;'
&lt;br&gt;echo $?
&lt;br&gt;&lt;br&gt;To understand in more detail, please read the documentation for the
&lt;br&gt;shell (it's a feature of the GNU/Linux system, it's not built into
&lt;br&gt;find).
&lt;br&gt;&lt;br&gt;The -exec primary succeeds if the shell command returns 0, that is, if
&lt;br&gt;the .py file exists. &amp;nbsp; &amp;nbsp;If the -exec primary succeeds, then the -print
&lt;br&gt;primary will be executed.
&lt;br&gt;&lt;br&gt;Eric's answer combines find with other Unix tools. &amp;nbsp; &amp;nbsp;Understanding
&lt;br&gt;Unix shell programming more generally is essential to making good use
&lt;br&gt;of find, especially in the case of more complex tasks.
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26551765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549431</id>
	<title>[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()</title>
	<published>2009-11-27T16:28:44Z</published>
	<updated>2009-11-27T16:28:44Z</updated>
	<author>
		<name>Phil Carmody-5</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #3, bug #27328 (project findutils):
&lt;br&gt;&lt;br&gt;Essentially there was a bug in the code that was supposed to deal with the
&lt;br&gt;situation where exec fails due to an over-long command line. &amp;nbsp; Since the code
&lt;br&gt;tries not to exceed ARG_MAX anyway, this code was rarely exercised and so
&lt;br&gt;nobody noticed the bug until now. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I have a patch which looks very promising, but it's large and I haven't fully
&lt;br&gt;tested it yet. &amp;nbsp; I'll attach it to this bug RSN.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.gnu.org/bugs/?27328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/bugs/?27328&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.gnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--27328--find-4.5.5--exec-%2B-segfaults-in-quotearg_buffer_restyled%28%29-tp25167693p26549431.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549556</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-27T16:09:29Z</published>
	<updated>2009-11-27T16:09:29Z</updated>
	<author>
		<name>Peng Yu</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 2:54 PM, Eric Blake &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549556&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;&amp;gt; Hash: SHA1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; According to Peng Yu on 11/27/2009 8:38 AM:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; find . -name '*.sh' -o -name '*.py'
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ... do what you had in mind?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; No. This is not what I want. This will give me all the .sh and .py
&lt;br&gt;&amp;gt;&amp;gt; files. But if there is a .py file and a .sh file with the same suffix
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Same suffix?  How can .sh ever be the same as .py?  Oh, you meant same prefix.
&lt;/div&gt;&lt;br&gt;You got what I mean.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; in the same directory, I only want to show the .py file but not the
&lt;br&gt;&amp;gt;&amp;gt; .sh file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Try this.  It finds all *.py files and prints them, and for all .sh files,
&lt;br&gt;&amp;gt; it forks a shell that tests whether a corresponding *.py file exists in
&lt;br&gt;&amp;gt; order to decide whether to print.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; find -name '*.py' -print -o -name '*.sh' \
&lt;br&gt;&amp;gt;  -exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \; -print
&lt;br&gt;&lt;br&gt;I don't quite understand how the command after -exec works. Would you
&lt;br&gt;please let me know how &amp;quot;-exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \;
&lt;br&gt;-print&amp;quot; works?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26549556.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26547653</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-27T12:54:09Z</published>
	<updated>2009-11-27T12:54:09Z</updated>
	<author>
		<name>Eric Blake</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;According to Peng Yu on 11/27/2009 8:38 AM:
&lt;br&gt;&amp;gt;&amp;gt; find . -name '*.sh' -o -name '*.py'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ... do what you had in mind?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No. This is not what I want. This will give me all the .sh and .py
&lt;br&gt;&amp;gt; files. But if there is a .py file and a .sh file with the same suffix
&lt;br&gt;&lt;br&gt;Same suffix? &amp;nbsp;How can .sh ever be the same as .py? &amp;nbsp;Oh, you meant same prefix.
&lt;br&gt;&lt;br&gt;&amp;gt; in the same directory, I only want to show the .py file but not the
&lt;br&gt;&amp;gt; .sh file.
&lt;br&gt;&lt;br&gt;Try this. &amp;nbsp;It finds all *.py files and prints them, and for all .sh files,
&lt;br&gt;it forks a shell that tests whether a corresponding *.py file exists in
&lt;br&gt;order to decide whether to print.
&lt;br&gt;&lt;br&gt;find -name '*.py' -print -o -name '*.sh' \
&lt;br&gt;&amp;nbsp; -exec sh -c 'test ! -f &amp;quot;${1%.sh}.py&amp;quot;' sh {} \; -print
&lt;br&gt;&lt;br&gt;- --
&lt;br&gt;Don't work too hard, make some time for fun as well!
&lt;br&gt;&lt;br&gt;Eric Blake &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26547653&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.9 (Cygwin)
&lt;br&gt;Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
&lt;br&gt;Comment: Using GnuPG with Mozilla - &lt;a href=&quot;http://enigmail.mozdev.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://enigmail.mozdev.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;iEYEARECAAYFAksQPHEACgkQ84KuGfSFAYCB1gCgpnTyWgVAu4FbADRbduFvdkuz
&lt;br&gt;ugUAn3rzSWl2Yiea/BDHf4zAHKS2M5fF
&lt;br&gt;=y0yd
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26547653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26546845</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-27T07:38:07Z</published>
	<updated>2009-11-27T07:38:07Z</updated>
	<author>
		<name>Peng Yu</name>
	</author>
	<content type="html">On Fri, Nov 27, 2009 at 6:19 AM, James Youngman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546845&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jay@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 3:56 AM, Peng Yu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26546845&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengyu.ut@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I want to search for all '.py' files in a directory (recursively).
&lt;br&gt;&amp;gt;&amp;gt; However, if there is a '.sh' file in the same directory where a '.py'
&lt;br&gt;&amp;gt;&amp;gt; is in, the '.sh' file rather than the '.py' file will be returned.
&lt;br&gt;&amp;gt;&amp;gt; Would somebody let me know how to do so?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; find . -name '*.sh' -o -name '*.py'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ... do what you had in mind?
&lt;/div&gt;&lt;br&gt;No. This is not what I want. This will give me all the .sh and .py
&lt;br&gt;files. But if there is a .py file and a .sh file with the same suffix
&lt;br&gt;in the same directory, I only want to show the .py file but not the
&lt;br&gt;.sh file.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26546845.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541716</id>
	<title>Re: How to conditionally search?</title>
	<published>2009-11-27T04:19:47Z</published>
	<updated>2009-11-27T04:19:47Z</updated>
	<author>
		<name>James Youngman-5</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 3:56 AM, Peng Yu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541716&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengyu.ut@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I want to search for all '.py' files in a directory (recursively).
&lt;br&gt;&amp;gt; However, if there is a '.sh' file in the same directory where a '.py'
&lt;br&gt;&amp;gt; is in, the '.sh' file rather than the '.py' file will be returned.
&lt;br&gt;&amp;gt; Would somebody let me know how to do so?
&lt;br&gt;&lt;br&gt;Does ...
&lt;br&gt;&lt;br&gt;find . -name '*.sh' -o -name '*.py'
&lt;br&gt;&lt;br&gt;... do what you had in mind?
&lt;br&gt;&lt;br&gt;James.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---FindUtils---Discussion-f1588.html&quot; embed=&quot;fixTarget[1588]&quot; target=&quot;_top&quot; &gt;Gnu - FindUtils - Discussion&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-conditionally-search--tp26538693p26541716.html" />
</entry>

</feed>
