[omniORB] Fake syslog function definition

Duane Griffin duane@router.econz.co.nz
Fri, 20 Aug 1999 09:51:59 +1200


Hi folks, sorry if this has been raised and resolved already, I couldn't
find anything about it in the FAQ or archives though. It seems that in
the omniORB 2.7.1 package the make file in the tcpwrapper directory
builds and links the fakelog2.o object file into the tcpwrapGK
libraries. This provides a dummy implementation that overrides the
syslog function call, which is quite annoying when you want to use it!
It looks like it was left in by mistake, and fakelog2.c and fakelog2.o
should be removed from the dir.mk file. The following patch applied in
the src/lib/omniORB2/orbcore/gatekeepers/tcpwrapper will remove the
files:

Cheers,
Duane.

--- dir.old	Sun Aug 23 01:13:52 1998
+++ dir.mk	Tue Aug 17 17:06:04 1999
@@ -27,14 +27,14 @@
 SRCS = hosts_access.c options.c shell_cmd.c rfc931.c eval.c \
        hosts_ctl.c refuse.c percent_x.c clean_exit.c $(AUX_SRCS) \
        fix_options.c socket.c workarounds.c \
-       update.c misc.c diag.c percent_m.c fakelog2.c
+       update.c misc.c diag.c percent_m.c
 
 CXXSRCS = gatekeeper.cc
 
 OBJS = hosts_access.o options.o shell_cmd.o rfc931.o eval.o \
        hosts_ctl.o refuse.o percent_x.o clean_exit.o $(AUX_OBJS) \
        fix_options.o socket.o tli.o workarounds.o \
-       update.o misc.o diag.o percent_m.o fakelog2.o
+       update.o misc.o diag.o percent_m.o
 
 CXXOBJS = gatekeeper.o