[1738] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: Autoconf portability bug with syslog/vsyslog()

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Tue Dec 5 21:23:32 1995

From: epeisach@MIT.EDU
Date: Tue, 5 Dec 1995 21:23:16 -0500
To: krb5-bugs@MIT.EDU


We are testing for vsyslog in order to compile in syslog... 

Why?

Answer: The only place in the source tree that needs vsyslog is
	kadmin.old/server/adm_server.c.

Proposal:
	a) Rewrite adm_server.c to use vsprintf, and then call syslog.
	b) in krb5/posix, test for syslog - not vsyslog.

I agree with Sean Mullan that it is bad to replace a vendors syslog with
our own, unless we know what we are doing on all platforms. Clearly we
broke something in using our own syslog...

Besides we are using vsprintf all over the tree already... It is more
likely to be tested than vsyslog will ever be, especially if we need to
provide out own.

Comments?

	Ezra

home help back first fref pref prev next nref lref last post