[syslog-ng]FOUND: gperf'd src/macros-gperf.c is missing PRI

Balazs Scheidler syslog-ng@lists.balabit.hu
Mon, 13 Dec 2004 19:19:06 +0100


On Mon, 2004-12-13 at 15:48, Roberto Nibali wrote:
> Hi,
> 
> > This is with libol-0.3.14. I'm adding some more debugging to find_macro().
> 
> I found the culprit. We use the gperf'd src/macros-gperf.c which is lacking the 
> PRI in struct macro_def wordlist[] and thus it cannot be found by find_macro().
> 
> I think it is fixed as follows (no -p1 diff ;)):
> 
> --- macros.gprf-orig    Mon Dec 13 15:47:46 2004
> +++ macros.gprf Mon Dec 13 15:48:09 2004
> @@ -7,6 +7,7 @@
>   PRIORITY, M_LEVEL
>   LEVEL, M_LEVEL
>   TAG, M_TAG
> +PRI, M_PRI
>   DATE, M_DATE
>   FULLDATE, M_FULLDATE
>   ISODATE, M_ISODATE

Thanks, I've commited the same fix just a minute ago. Next time I'll
read all my messages before trying to find bugs, especially if you post
about them ;)

So you can find this fix in tomorrow's snapshot.

-- 
Bazsi