ossp-pkg/ex/ts.c 1.6 -> 1.7
--- ts.c 2004/03/25 19:01:45 1.6
+++ ts.c 2004/04/05 14:44:21 1.7
@@ -1,11 +1,11 @@
/*
-** TS - OSSP Test Suite Library
+** OSSP ts - Test Suite Library
** Copyright (c) 2001-2004 Ralf S. Engelschall <rse@engelschall.com>
** Copyright (c) 2001-2004 The OSSP Project <http://www.ossp.org/>
** Copyright (c) 2001-2004 Cable & Wireless <http://www.cw.com/>
**
-** This file is part of OSSP TS, a small test suite library which
-** can be found at http://www.ossp.org/pkg/ts/.
+** This file is part of OSSP ts, a small test suite library which
+** can be found at http://www.ossp.org/pkg/lib/ts/.
**
** Permission to use, copy, modify, and distribute this software for
** any purpose with or without fee is hereby granted, provided that
@@ -206,7 +206,7 @@
if (format == NULL)
return NULL;
- ap2 = ap;
+ va_copy(ap2, ap);
if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)
return NULL;
if ((buffer = (char *)malloc(n+1)) == NULL)
|
|