diff options
author | naddy <naddy@FreeBSD.org> | 2002-11-30 22:00:06 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2002-11-30 22:00:06 +0800 |
commit | f0bf5efc446c0648e22af08822f3ef44d92e4260 (patch) | |
tree | 63f18d72efc2fa2505a2afbffb608a279a760051 /security/gpa | |
parent | c2fc69ac9d9e37668c46691e55d552056c3568ae (diff) | |
download | freebsd-ports-gnome-f0bf5efc446c0648e22af08822f3ef44d92e4260.tar.gz freebsd-ports-gnome-f0bf5efc446c0648e22af08822f3ef44d92e4260.tar.zst freebsd-ports-gnome-f0bf5efc446c0648e22af08822f3ef44d92e4260.zip |
Remove an illegal optimization that breaks on all platforms where
va_list is not a pointer (e.g. alpha).
Notified by: beta
Obtained from: NetBSD
Diffstat (limited to 'security/gpa')
-rw-r--r-- | security/gpa/files/patch-jnlib_logging.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/gpa/files/patch-jnlib_logging.c b/security/gpa/files/patch-jnlib_logging.c new file mode 100644 index 000000000000..00307c033699 --- /dev/null +++ b/security/gpa/files/patch-jnlib_logging.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- jnlib/logging.c.orig Thu Jun 8 11:49:51 2000 ++++ jnlib/logging.c Sat Nov 30 14:03:44 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); + } + + |