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

Re: [leafnode-list] [ANNOUNCE] First Leafnode-2.0 beta version

Matthias Andree wrote:

> krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:
> > /fetchnews.c:1422: warning: variable `msgid' might be clobbered by `longjmp' or `vfork'
> > 
> > I have no idea how to fix this. It also occurs under Linux.
> It's a GLOBAL variable (miscutil.c), that's why it breaks.

"msgid" is not a global variable. It is defined in the header of

> Also note you don't really want longjmp:

I am not satisfied with the code for timeouts altogether. One reason is
that it doesn't work very well; another reason is that it is very clumsy.
I have no idea what the optimal solution is, though.

> Please note that 1.9.17ma3 does not throw ANY warnings (SuSE Linux 6.4)
> apart from "unused parameter" with 'make CFLAGS="-O2 -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes"' - not even the strftime
> warning about the year.

It seems to break RFC977 by doing so. There is a reason why I stick to
the two-digit year format: it is not because I am so glad about these
warnings, but it is the proper format for NEWGROUPS as described in that


/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list