httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: [PATCH] make_exports.awk
Date Sat, 21 Jul 2001 12:29:14 GMT
> "Sander Striker" <striker@apache.org> writes:
>> Hi,
>>
>> I missed the hook declarations in my previous
>> script. This is added by the patch below.
>>
>> The patch also removes unneeded ; that slipped
>> in because I use c a lot more than awk :)
>>
>> I moved a rule around so removal of leading
>> whitespace could go into one rule
>> (see AP[RU]?_DECLARE).
>>
>> Also removed the additional idx variable in
>> favor of checking the return value of the
>> index function.

"Jeff Trawick" <trawick@apache.org> writes:
> For reasons I don't understand I wasn't able to apply the patch.
>
> Do you think it might fix this problem (seen on Solaris 8 Intel)?
>
> make[2]: Entering directory `/export/home/trawick/apache/httpd-2.0/server'
> nawk -f
> /export/home/trawick/apache/httpd-2.0/build/make_exports.awk
> /export/home/trawick/apache/httpd-2.0/include/*.h
> /export/home/trawick/apache/httpd-2.0/srclib/apr/include/*.h
> /export/home/trawick/apache/httpd-2.0/srclib/apr-util/include/*.h
> > exports.c
> nawk: syntax error in regular expression ([^ ]* ^([     ]*[(]))*
> at ([  ]*[(]))*
>  source line number 85
>  context is
>             sub("([^ ]* ^([ \t]*[(]))*", >>>  "") <<< ;
> make[2]: *** [exports.c] Error 2

No, line 85 reads:
    sub("([^ ]* ^([ \t]*[(]))*", "");

I only removed the trailing ; in the patch.

The line is valid in gawk.  Could someone please check mawk?
Aparently, nawk doesn't like it.


Sander


Mime
View raw message