ossp-pkg/sio/ts.c 1.2 -> 1.3
--- ts.c 2003/02/06 13:44:23 1.2
+++ ts.c 2005/10/03 09:04:05 1.3
@@ -1,11 +1,11 @@
/*
-** TS - OSSP Test Suite Library
-** Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
-** Copyright (c) 2001-2002 The OSSP Project <http://www.ossp.org/>
-** Copyright (c) 2001-2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** OSSP ts - Test Suite Library
+** Copyright (c) 2001-2005 Ralf S. Engelschall <rse@engelschall.com>
+** Copyright (c) 2001-2005 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2001-2005 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)
|
|