bacula and alpha on FreeBSD again
LarsKöller
lars.koeller at uni-bielefeld.de
Wed Mar 17 22:58:24 PST 2004
--------
Dear Kern,
please can you have a look at this new/(old?) problem on FreeBSD alpha?
In my port I include the var.c-patch you provide me some weeks ago:
*** src/lib/var.c.orig Tue Mar 9 21:11:30 2004
--- src/lib/var.c Tue Mar 9 21:12:46 2004
***************
*** 120,126 ****
int n;
int bytes;
! if (format == NULL)
return -1;
bytes = 0;
while (*format != '\0') {
--- 120,126 ----
int n;
int bytes;
! if (format == NULL || ap == NULL)
return -1;
bytes = 0;
while (*format != '\0') {
***************
*** 204,210 ****
int n;
var_mvsnprintf_cb_t ctx;
! if (format == NULL)
return -1;
if (buffer != NULL && bufsize == 0)
return -1;
--- 204,210 ----
int n;
var_mvsnprintf_cb_t ctx;
! if (format == NULL || ap == NULL)
return -1;
if (buffer != NULL && bufsize == 0)
return -1;
But the last alpha compile give an error:
c++ -c -I/usr/local/include -I. -I.. -O -pipe -mcpu=ev4 -mtune=ev5 -mieee var.c
var.c: In function `int var_mvxprintf(int (*)(void*, const char*, int), void*,
const char*, __va_list_tag)':
var.c:123: error: invalid operands of types `va_list' and `long int' to binary
`operator=='
var.c: In function `int var_mvsnprintf(char*, int, const char*, __va_list_tag)
':
var.c:207: error: invalid operands of types `va_list' and `long int' to binary
`operator=='
*** Error code 1
Did I miss something?
Thanks and Regards
Lars
--
Dr. Lars Köller \ Raum : V0-318 (Tel: 0521/106-4964)
Leitung Systeme \ E-Mail : Lars.Koeller at Uni-Bielefeld.DE
und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
----------- FreeBSD, what else? ---- http://www.de.freebsd.org ---------
More information about the freebsd-ports
mailing list