Date: Thu, 18 Mar 2004 07:31:16 +0100 From: Lars =?iso-8859-1?Q?K=F6ller?= <lars.koeller@uni-bielefeld.de> To: kern@sibbald.com (Kern Sibbald) Cc: Kris Kennaway <kris@obsecurity.org> Subject: bacula and alpha on FreeBSD again Message-ID: <200403180631.i2I6VGO05615@rayadm.hrz.uni-bielefeld.de> Resent-Message-ID: <200403180658.i2I6wLe12198@rayadm.hrz.uni-bielefeld.de>
next in thread | raw e-mail | index | archive | help
-------- 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@Uni-Bielefeld.DE und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html ----------- FreeBSD, what else? ---- http://www.de.freebsd.org ---------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403180631.i2I6VGO05615>