help-flex
[Top][All Lists]
Advanced

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

Re: 2.5.31 assumes snprintf()


From: Hans-Bernhard Broeker
Subject: Re: 2.5.31 assumes snprintf()
Date: Mon, 7 Jul 2003 15:55:20 +0200 (MET DST)

On Mon, 7 Jul 2003, W. L. Estes wrote:

> On Thursday, 03 July 2003,19:05 +0200, Hans-Bernhard Broeker wrote:

> > at least as of 2.5.31, flex calls snprintf() in two places (one of which
> > is in yacc source, so it appears twice in the cscope dump below):
> >
> > 0 parse.c format_warn3 125 snprintf( fw3_msg, MAXLINE,(fmt), (a1), (a2) );\
> > 1 parse.y format_warn3 115 snprintf( fw3_msg, MAXLINE,(fmt), (a1), (a2) );\
> > 2 regex.c regmatch_cpy 102 snprintf (dest, regmatch_len(m), "%s", src +
> >                            m->rm_so);

> yacc source? not flex source? I'm confused.

No need to be. parse.y is the "yacc source" file which parse.c is compiled
from, see?

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.





reply via email to

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