Re: libgpg-error doesn't build with new nawk

From: Rong-en Fan <grafan_at_gmail.com>
Date: Sat, 9 Jun 2007 18:48:17 +0800
Hi,

On 6/8/07, Yuri Pankov <yuri.pankov_at_gmail.com> wrote:
> Hi,
>
> After new nawk version import, libgpg-error doesn't build:
>
> ===>  Building for libgpg-error-1.4_1
[...]
> nawk: field separator [         ]+GPG_E... is too long
>  source line number 66
> *** Error code 2

delphij_at_ committed a workaround few days ago.
Could you update your source and rebuild awk?

Thanks,
Rong-En Fan

>
> 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
> _at__at_ -40,9 +40,9 _at__at_ 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
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Sat Jun 09 2007 - 08:48:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC