OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Bug snapshot 20000309 ?
From: Jon Parise (joncsh.rit.edu)
Date: Tue Mar 28 2000 - 08:06:34 CST


On Tue, Mar 28, 2000 at 01:08:05PM +0200, Gert-Jan Looy wrote:

> This is what happens compiling on a ReliantUnix machine:
>
> :
> :
> :
> [postcat]
> gcc -Wmissing-prototypes -g -O -I. -I../include
> -DReliantUnix543 -c postcat.c
> gcc -Wmissing-prototypes -g -O -I. -I../include
> -DReliantUnix543 -o postcat postcat.o ../lib/libglobal.a
> ../lib/libutil.a -lresolv -lsocket -lnsl
> cp postcat ../bin
> [postconf]
> awk -f extract.awk ../*/*.c
> awk: Syntax error in regular expression ^(static| )*CONFIG_INT_TABLE .*{
> at
> awk: Source line number 3
> awk: Context is
> /^(static| )*CONFIG_INT_TABLE >>> .*{/ <<< ,/};/ {
> make: *** Error code 2
>
> Is this a bug, or is it just my machine?

I also get using the standard awk(1) on Tru64 5.0. It's due to the
change in patchlevel05 to extract.awk that accounts for extra
whitespace or something. I got around the problem by using gawk
instead, but I suppose this should be revisited for the sake of
portability. The rest of postfix build without errors on every OS
I've encountered.

-- 
Jon Parise (joncsh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member