bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/11] build: include <config.h> from lib/yyerror.c


From: Akim Demaille
Subject: Re: [PATCH 06/11] build: include <config.h> from lib/yyerror.c
Date: Wed, 25 Jan 2012 08:55:19 +0100

I installed this in branch-2.5 too.

Le 23 janv. 2012 à 12:35, Jim Meyering a écrit :

>> From 507aafd6b2388780aad6dfd349c65075c2b378e6 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <address@hidden>
> Date: Mon, 23 Jan 2012 11:47:46 +0100
> Subject: [PATCH] build: avoid possibly-replaced fprintf in liby-source,
> yyerror.c
> 
> * lib/yyerror.c (yyerror): Use fputs and fputc rather than fprintf
> with a mere "%s\n" format.  Always return 0 now, on the assumption
> that the return value was never used anyway.
> Don't include <config.h> after all.  This avoids a problem
> reported by Thiru Ramakrishnan in
> http://lists.gnu.org/archive/html/help-bison/2011-11/msg00000.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]