On Sun, Feb 27, 2000 at 12:48:53AM -0500, Jim Bloom wrote:
> but on a new version of current this expands to
> 
>       add pass tcp from 192.168.2.5 : 255.255.254.0 to any 25 setup
> 
> Note the extra spaces around the colon.

This is required by the ANSI-C spec.  Tokens replaced by `cpp' shall be
seperated by white space.

> There are several options here:
> 1) Fix cpp to not emit the extra spaces

Would break the ANSI-C spec.

> 3) Document the cpp is not a valid preprocessor for ipfw on the manual page.

``cpp'' really isn't a general purpose pre-processor -- it is exclusively
designed with the needs and usage of C in mind.  ``m4'' is a much better
general purpose processor.

That said ``/usr/bin/cpp -traditional'' will do what you want it to do.

-- 
-- David    ([EMAIL PROTECTED])


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

Reply via email to