This bug does not exist in any recent version of unifdef. It was fixed
over five years ago.

commit 0c5e37ded46c073f2a03878726d703df026b88a3
Author: Tony Finch <[email protected]>
Date:   2005-03-08 12:07:27 +0000

    Update the copyright notice to the FreeBSD standard.
    Do not recognize comment markers inside string and character literals.

[email protected]:~/misc/unifdef
: 0 ; cat tests/debian-603860.c
#ifdef FOO
int a;
#endif
char foo[] = "rm -rf /*";
#ifdef FOO
int b;
#endif
/* baz */
[email protected]:~/misc/unifdef
: 0 ; ./unifdef -UFOO tests/debian-603860.c
char foo[] = "rm -rf /*";
/* baz */
[email protected]:~/misc/unifdef
: 1 ; ./unifdef -V
Version: unifdef-2.4.1.29ed87a
Date: 2010-11-09 11:28:11 +0000
Author: Tony Finch ([email protected])
URL: http://dotat.at/prog/unifdef
[email protected]:~/misc/unifdef
: 0 ;

Tony.
-- 
f.anthony.n.finch  <[email protected]>  http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to