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

Lowkrantz, Goran Goran.Lowkrantz@infologigruppen.se
Thu, 18 Nov 1999 17:52:34 +0100


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].


Goran Lowkrantz         Email    : goran.lowkrantz@infologigruppen.se
Infologigruppen Alfa AB Telephone: Nat    070-587 8782 Fax: Nat    070-615
Box 202                            Int +46 70-587 8782      Int +46 70-615
941 25 Pitea,  Sweden