>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]$
>How-To-Repeat:
as above
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: