bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: findutils POSIX incompatiblity with "find . -perm ++w -print"


From: James Youngman
Subject: Re: findutils POSIX incompatiblity with "find . -perm ++w -print"
Date: Wed, 25 May 2005 21:00:51 +0100
User-agent: Mutt/1.3.28i

On Tue, May 24, 2005 at 09:37:46AM -0700, Paul Eggert wrote:
> I did notice one minor inefficiency in the patch [...]
> that I submitted yesterday.  
[...]
> If you like, I can compose a new proposed patch reflecting this
> change.

I've applied the original patch but made the change I believe you
intended.  I have also made the distinction between the treatment of
the "-perm +..."  cases more explicit in the code.  The patch I have
ended up with (and applied) is attached.  It performs duplicate
assignments to "kind" and "change" in the interests of clarity.

Please let me know if it doesn't actually correspond with your
intended change.

While applying this change I have noticed that the test suite contains
no tests for -perm apart from one test for "-perm -0100".  I have
generated a bug report
(http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=13188)
indicating this.


Regards,
James.

Attachment: eggert-patch-as-applied.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]