pkgsrc/security/gpa/patches/patch-aa
martin 1c21d7b935 Remove illegal optimizatioon breaking on all platforms where va_list is
not a pointer. Should make this build on alpha and macppc again (but I
can't test this right now).
2002-01-18 09:23:58 +00:00

22 lines
477 B
Text

$NetBSD: patch-aa,v 1.1 2002/01/18 09:23:58 martin Exp $
--- jnlib/logging.c.orig Thu Jun 8 11:49:51 2000
+++ jnlib/logging.c Fri Jan 18 10:16:04 2002
@@ -226,14 +226,9 @@
{
va_list arg_ptr ;
- if( !fmt ) {
- do_logv( MY_LOG_BEGIN, NULL, NULL );
- }
- else {
- va_start( arg_ptr, fmt ) ;
- do_logv( MY_LOG_CONT, fmt, arg_ptr );
- va_end(arg_ptr);
- }
+ va_start( arg_ptr, fmt ) ;
+ do_logv( MY_LOG_CONT, fmt, arg_ptr );
+ va_end(arg_ptr);
}