libgpg-error doesn't build with new nawk
Yuri Pankov
yuri.pankov at gmail.com
Fri Jun 8 04:05:05 UTC 2007
Hi,
After new nawk version import, libgpg-error doesn't build:
===> Building for libgpg-error-1.4_1
make all-recursive
Making all in intl
Making all in m4
Making all in src
nawk -f ./mkstrtable.awk -v textidx=3 ./err-sources.h.in >err-sources.h
nawk -f ./mkstrtable.awk -v textidx=3 ./err-codes.h.in >err-codes.h
nawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
nawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
cc -E _mkerrcodes.h | grep GPG_ERR_ | nawk -f ./mkerrcodes.awk
>mkerrcodes.h
nawk: field separator [ ]+GPG_E... is too long
source line number 66
*** Error code 2
Change in question:
--- src/contrib/one-true-awk/lib.c 2005/05/16 19:11:33 1.1.1.4
+++ src/contrib/one-true-awk/lib.c 2007/06/05 15:33:51 1.1.1.5
@@ -40,9 +40,9 @@ char *fields;
int fieldssize = RECSIZE;
Cell **fldtab; /* pointers to Cells */
-char inputFS[100] = " ";
+char inputFS[10] = " ";
^^^^^
Is maximum length of field separator documented somewhere?
Thanks,
Yuri
More information about the freebsd-current
mailing list