Check-in Number:
|
5269 | |
Date: |
2005-Oct-09 23:27:58 (local)
2005-Oct-09 21:27:58 (UTC) |
User: | thl |
Branch: | |
Comment: |
Imported varargs portability patch from OpenPKG lmtp2nntp package |
Tickets: |
#68 | |
lib_tai/ts.c still has ap2 = ap; instead of va_copy(ap2,ap); |
|
Inspections: |
|
Files: |
|
ossp-pkg/tai/ChangeLog 1.1 -> 1.2
--- ChangeLog 2002/04/18 09:10:45 1.1
+++ ChangeLog 2005/10/09 21:27:58 1.2
@@ -1,4 +1,25 @@
+ _ ___ ____ ____ ____ _ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ | |_ __ _(_)
+ _|_||_| | | | \___ \___ \| |_) | | __/ _` | |
+ |_||_|_| | |_| |___) |__) | __/ | || (_| | |
+ |_|_|_| \___/|____/____/|_| \__\__,_|_|
+
+ OSSP tai -- Temps Atomique International or International Atomic Time
+
+ ChangeLog
+ =========
+
+ Changes
+
+ *) Imported varargs portability patch from OpenPKG lmtp2nntp package
+ [Thomas Lotterer <thomas@lotterer.net>]
o Taken FreeBSD-CURRENT's strftime.c/strptime.c as of 17-Apr-2002 and created
tai_format.c out of strftime.c and tai_parse.c out of strptime.c
+
+
+
+
+
+
|
|
ossp-pkg/tai/ts.c 1.2 -> 1.3
--- ts.c 2003/07/31 07:29:51 1.2
+++ ts.c 2005/10/09 21:27:58 1.3
@@ -202,7 +202,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)
|
|