The following reply was made to PR system/6462; it has been noted by GNATS.
From: Philip Guenther <[email protected]> To: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: system/6462: find(1) -print wtf Date: To; b=wAYnZEVJkKc7zBsmRD4usifUA+iASFe+MOtZaNFun2r6cpIbL0AX/dh s/Dnv+81GcyQ9yjiIL42thdPDtCQ3qISNv474woYPhlD0pfTIeuXtCWDa69LRAH8mLj 3n3WF8Y2180evKQ0qIWAX023SaPLXaXp3QLNm3tYzDTBKcmJM= On Sep 9, 2010, at 6:37 PM, [email protected] wrote: >> Number: 6462 >> Category: system >> Synopsis: find(1) -print alters found files >> Confidential: yes >> Severity: serious >> Priority: medium >> Responsible: bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: unknown >> Arrival-Date: Fri Sep 10 01:50:01 GMT 2010 >> Closed-Date: >> Last-Modified: >> Originator: >> Release: >> Organization: >> Environment: > System : OpenBSD 4.8 > Details : OpenBSD 4.8-beta (GENERIC.MP) #247: Wed Jul 28 15:51:28 EST 2010 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > > Architecture: OpenBSD.i386 > Machine : i386 >> Description: > > [...@fuyu xxx]$ touch foo.orig > [...@fuyu xxx]$ touch foo.rej > [...@fuyu xxx]$ find . -type f -name \*.orig -or -name \*.rej > ./foo.orig > ./foo.rej > [...@fuyu xxx]$ find . -type f -name \*.orig -or -name \*.rej -print > ./foo.rej > [...@fuyu xxx]$ The behavior described is correct as specified in the POSIX standard. Not A Bug. Philip Guenther
