> The unifdef in the system is not suited to heavyweight tasks like
> (say) xterm's main.c or wu-ftpd for a number of reasons:
> 
>  * it has a very low limit on the number of command-line arguments
>    that it can cope with (100) -- I've sumbitted PR#37454 about this.
> 
>  * it doesn't have the slightest clue about #elif
> 
>  * it doesn't attempt to handle #if

I am in violent agreement :-).

> Because I needed an unifdef with a bit more oomph and couldn't
> find a better one, I have done my own tune-up job on the BSD
> one, starting from the NetBSD sources (which seemed to have
> a mostly-superset of the changes made by the other BSDs).
> It's available from <http://dotat.at/prog/misc/unifdef.c>.
> The detailed change list is below. Note that only a very
> limited subset of #if expressions are understood, involving
> just defined(), !, &&, ||, and brackets.
> 
> If anyone is interested I'd appreciate some testing, and it
> would be nice to get it committed eventually.

Ooooh! :-)

Yes please!

I'll look at this.

M
-- 
o       Mark Murray
\_
O.\_    Warning: this .sig is umop ap!sdn
#text/plain; name=cv.doc [Mark Murray CV Plain Text] cv.doc
#application/octet-stream; name=cv.pdf [Mark Murray CV PDF] cv.pdf

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to