help-flex
[Top][All Lists]
Advanced

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

2.5.31 assumes snprintf()


From: Hans-Bernhard Broeker
Subject: 2.5.31 assumes snprintf()
Date: Thu, 3 Jul 2003 19:05:18 +0200 (MET DST)

Hello, flexers,

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);

Please note that while common, snprintf() is by far not a reliably
available function on all target platforms.  This prevents building of
flex-2.5.31 on Digital Unix 4.0, and DOS/DJGPP 2.03, to name just two
affected platforms I know of.

I would count this as one of the things that need to be checked out
before a 2.6 release.

BTW: does anyone of the developers even read the Bug Tracker and other
entries at flex' SourceForge pages?  I ask because not a single of the bug
reports there has ever been 'closed', 'deleted' or otherwise finalized, as
far as can be seen...


-- 
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]