lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 25 Aug 2009 14:35:52 +0000
From:	Matthias Urlichs <matthias@...ichs.de>
To:	Jiri Slaby <jirislaby@...il.com>
Cc:	"Luis R. Rodriguez" <lrodriguez@...eros.com>,
	Nicolas Palix <npalix@...u.dk>, linux-kernel@...r.kernel.org,
	Yoann Padioleau <yoann.padioleau@...il.com>,
	Julia Lawall <julia@...u.dk>, devel@...uxdriverproject.org,
	Joe Perches <joe@...ches.com>,
	Amerigo Wang <xiyou.wangcong@...il.com>,
	akpm@...ux-foundation.org
Subject: Re: [PATCH v2] scripts: add typdef removal tool

On Sun, 2009-08-23 at 19:59 +0200, Jiri Slaby wrote:
> -type f excludes directories.

Yes, but -o binds more loosely.

$ mkdir bar
$ find . -type f -name foo -o -name bar
bar
$

I like to pay attention to correct idioms. There is no problem in this
case because there are no directories named *.h in the kernel tree — but
people read code like that, and then apply it to situations where it
_does_ matter.

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ