Index: ossp-pkg/sa/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/sa/ChangeLog,v rcsdiff -q -kk '-r1.13' '-r1.14' -u '/v/ossp/cvs/ossp-pkg/sa/ChangeLog,v' 2>/dev/null --- ChangeLog 2002/11/07 12:17:06 1.13 +++ ChangeLog 2002/11/07 12:44:12 1.14 @@ -13,6 +13,10 @@ Changes between 1.0.0 and 1.0.1 (01-Nov-2002 to xx-Nov-2002) + o Make sure that "va_list" variables are not compared against NULL + because this is not possible on all platforms. + [Ralf S. Engelschall] + o Ported to brain-dead OpenUNIX where shutdown(3)'s SHUT_XX values are not easily available and where variables named sa_len conflict with structure fields in vendor headers. Index: ossp-pkg/sa/sa.c RCS File: /v/ossp/cvs/ossp-pkg/sa/sa.c,v rcsdiff -q -kk '-r1.69' '-r1.70' -u '/v/ossp/cvs/ossp-pkg/sa/sa.c,v' 2>/dev/null --- sa.c 2002/11/07 12:17:06 1.69 +++ sa.c 2002/11/07 12:44:12 1.70 @@ -318,7 +318,7 @@ int n; int bytes; - if (format == NULL || ap == NULL) + if (format == NULL) return -1; bytes = 0; while (*format != '\0') { @@ -400,7 +400,7 @@ int n; sa_mvsnprintf_cb_t ctx; - if (format == NULL || ap == NULL) + if (format == NULL) return -1; if (buffer != NULL && bufsize == 0) return -1; Index: ossp-pkg/sa/ts.c RCS File: /v/ossp/cvs/ossp-pkg/sa/ts.c,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/sa/ts.c,v' 2>/dev/null --- ts.c 2002/03/08 23:08:39 1.5 +++ ts.c 2002/11/07 12:44:12 1.6 @@ -126,7 +126,7 @@ int n; int bytes; - if (format == NULL || ap == NULL) + if (format == NULL) return -1; bytes = 0; while (*format != '\0') { @@ -200,7 +200,7 @@ int n; va_list ap2; - if (format == NULL || ap == NULL) + if (format == NULL) return NULL; ap2 = ap; if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)