[syslog-ng] syslog+ng 1.3.1 on FreeBSD 3-STABLE

Balazs Scheidler [email protected]
Thu, 18 Nov 1999 18:25:02 +0100

On Thu, Nov 18, 1999 at 05:52:34PM +0100, Lowkrantz, Goran wrote:
> Hi,
> Two small things and then it works:
> src/log.c:85 need include of <string.h> so that memset is declared.
> src/log.c:89 tm.tm_isdst = daylight; There is no daylight variable but if
> tm_isdst is set negative, mktime will use the system to find out. If I
> define daylight to -1, it works.
> Two warnings:
> gcc -DHAVE_CONFIG_H -I. -I/usr/home/glz/work.d/syslog-ng-1.3.1/src -I.
> -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c affile.c
> affile.c: In function `expand_macros':
> affile.c:381: warning: passing arg 2 of `c_vformat_length' from incompatible
> pointer type
> affile.c:383: warning: passing arg 4 of `c_vformat_write' from incompatible
> pointer type
> They are declared as va_list but are passed char *[MAX_MACRO_ARGS].

Thanks. I fixed this, should be available in the next version.

PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt