libgpg-error doesn't build with new nawk

Rong-en Fan grafan at gmail.com
Sat Jun 9 10:48:19 UTC 2007


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@ 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
> @@ -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
> _______________________________________________
> 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"
>


More information about the freebsd-current mailing list