NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/42628: unifdef is broken
>Number: 42628
>Category: bin
>Synopsis: unifdef is broken
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 16 19:00:00 +0000 2010
>Originator: David Young
>Release: NetBSD 5.99.23
>Organization:
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 278-3933
>Environment:
System: NetBSD elmendorf.ojctech.com 5.99.23 NetBSD 5.99.23 (GENERIC) #15: Thu
Jan 7 18:46:33 CST 2010
dyoung%cuw.ojctech.com@localhost:/u5/dyoung-scratch/pristine/i386/O/sys/arch/i386/compile/GENERIC
i386
Architecture: i386
Machine: i386
>Description:
unifdef -Usym is not removing lines bracketed
by #if defined(sym)/#endif.
>How-To-Repeat:
Try this:
unifdef -U__FreeBSD__ <<EOF
#if defined(__FreeBSD__)
#include <netinet/if_fddi.h>
#else
#include <net/if_fddi.h>
#endif
EOF
The output is the same as the input:
#if defined(__FreeBSD__)
#include <netinet/if_fddi.h>
#else
#include <net/if_fddi.h>
#endif
Ditto the output of unifdef -U __FreeBSD__ (i.e., with a space between
the -U and its argument).
>Fix:
Unknown.
Home |
Main Index |
Thread Index |
Old Index