From: Roland McGrath Date: Tue, 14 Jan 2003 07:53:36 +0000 (+0000) Subject: 2003-01-13 Roland McGrath X-Git-Tag: v4.5.18~868 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4168e578c2487d909188fa87252b443deb36043;p=strace 2003-01-13 Roland McGrath * linux/ioctlent.sh: Look in sound/ directory too. From Anton Blanchard . --- diff --git a/linux/ioctlent.sh b/linux/ioctlent.sh index b55d2243..a41aaa29 100644 --- a/linux/ioctlent.sh +++ b/linux/ioctlent.sh @@ -37,7 +37,7 @@ regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\ sed -ne 's/^\(.*\):[[:space:]]*#[[:space:]]*define[[:space:]]*\([A-Z0-9_]*\)[[:space:]]*\(0x54..\).*/ { "\1", "\2", \3 },/p' \ > ioctls.h -files="linux/* asm/* scsi/*" +files="linux/* asm/* scsi/* sound/*" # Build the list of all ioctls regexp='^[[:space:]]*#[[:space:]]*define[[:space:]]\+[A-Z][A-Z0-9_]*[[:space:]]\+_S\?\(IO\|IOW\|IOR\|IOWR\)\>' @@ -55,5 +55,3 @@ for base in $bases ; do (cd $dir ; grep -h $regexp 2>/dev/null $files ) | \ grep -v '\<_IO' >> ioctldefs.h done - -