OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/ts.c versions 1.10 and 1.11
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/ts.c 1.10 -> 1.11

--- ts.c 2004/04/02 18:21:07     1.10
+++ ts.c 2004/06/26 11:38:20     1.11
@@ -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
@@ -127,7 +127,7 @@
     char *cp;
     char c;
     int d;
-    size_t n;
+    int n;
     int bytes;
 
     if (format == NULL)
@@ -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)

CVSTrac 2.0.1