On Sun, 2005-08-07 at 20:07 -0700, OpenMacNews wrote:
hi,
I've fixed this one, and I've also found a problem in uid/gid setting for file destinations. The fixes should be incorporated in tonight's snapshot.
the problem is, indeed, gone. =)
Making check in src make[1]: Nothing to be done for `check'. Making check in doc make[1]: Nothing to be done for `check'. Making check in tests Making check in unit make test_msgparse test_template if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/bind9/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -I../../src -g -O2 -Wall -g -MT test_msgparse.o -MD -MP -MF ".deps/test_msgparse.Tpo" -c -o test_msgparse.o test_msgparse.c; \ then mv -f ".deps/test_msgparse.Tpo" ".deps/test_msgparse.Po"; else rm -f ".deps/test_msgparse.Tpo"; exit 1; fi test_msgparse.c: In function `main': test_msgparse.c:78: error: invalid lvalue in assignment make[3]: *** [test_msgparse.o] Error 1 make[2]: *** [check-am] Error 2 make[1]: *** [check-recursive] Error 1 make: *** [check-recursive] Error 1
Your platform has a timezone() function instead of a timezone variable, fixed that as well. Here's the diff: --- orig/tests/unit/test_msgparse.c +++ mod/tests/unit/test_msgparse.c @@ -75,7 +75,7 @@ int main(int argc G_GNUC_UNUSED, char *argv[] G_GNUC_UNUSED) { putenv("TZ=UTC"); - timezone = 0; + tzset(); testcase("<7>Sep 7 10:43:21 bzorp openvpn[2499]: PTHREAD support initialized", 0, 7, // pri 1094553801, 0, 0, // timestamp (sec/usec/zone) -- Bazsi