[Xorp-cvs] XORP cvs commit: xorp/libxorp
Pavlin Radoslavov
pavlin@icir.org
Tue, 20 Dec 2005 18:48:15 -0800
> CVSROOT: /usr/local/www/data/cvs
> Module name: xorp
> Changes by: atanu@xorpc.icir.org 2005-12-21 01:24:47 UTC
>
> XORP CVS repository
>
>
> Modified files:
> libxorp xlog.c
>
> Log message:
> Take a copy of the variable arguments so they can be used multiple
> times.
Introducing va_copy() breaks the compilation on FreeBSD-4.10 with
the default compiler (gcc-2.95.4):
xlog.c: In function `x_vasprintf':
xlog.c:1162: warning: implicit declaration of function `va_copy'
gmake[3]: *** [xlog.lo] Error 1
Can you give an example where the original implementation fails.
Pavlin
> Also fix a possible double free issue which could never happen.
>
> Revision Changes Path
> 1.13 +5 -2; commitid: af7343a8aede7ea6; xorp/libxorp/xlog.c
> _______________________________________________
> Xorp-cvs mailing list
> Xorp-cvs@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs