Date: Fri, 8 Jun 2007 08:04:37 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: freebsd-current@freebsd.org Subject: libgpg-error doesn't build with new nawk Message-ID: <20070608040437.GA75425@darklight.org.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070608040437.GA75425>