The use of a zero flag

Paul Vriens paul.vriens at
Thu Jan 13 05:54:55 CST 2005

> regexp=`sed -e 's/^ *# *define *\([a-zA-Z_][a-zA-Z0-9_]*\) *0 *$/\1/' -e
> 't' -e 's/^ *# *define *\([a-zA-Z_][a-zA-Z0-9_]*\) *0x00*L* *$/\1/' -e 't'
> -e 'd' include/*.h`;regexp=`echo $regexp | sed -e 's/ NULL / /' -e 's/
> /|/g'`;egrep -r -n "& *($regexp)[^a-zA-Z0-9_]" .
> Francois Gouget         fgouget at
>                  Linux: It is now safe to turn on your computer.
Hi Francois,

how do you cater for the following in your one-liner:

include/accctrl.h:#define ACTRL_RESERVED              0x00000000
include/accctrl.h:#define ACTRL_DS_OPEN               ACTRL_RESERVED

good luck :-)

But seriously what would be the best way to fix up dplayx.c?



More information about the wine-devel mailing list