From owner-cvs-usrsbin Wed Nov 15 05:43:36 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA28232 for cvs-usrsbin-outgoing; Wed, 15 Nov 1995 05:43:36 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id FAA28221 ; Wed, 15 Nov 1995 05:43:23 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id AAA05911; Thu, 16 Nov 1995 00:41:41 +1100 Date: Thu, 16 Nov 1995 00:41:41 +1100 From: Bruce Evans Message-Id: <199511151341.AAA05911@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG Precedence: bulk > Modified: usr.sbin/syslogd syslogd.c > Log: > With the recent 'make install' change in the kernel build makefiles, an > `interesting' feature of syslogd turned up. It calls getbootfile() for each > log entry. Since the kernel makefile now changes kern.bootfile when doing > a 'make install', it's quite startling to see the syslog lines change. I think that was a feature. The kernel name really did change. It's interesting that getbootfile() doesn't cache the old name although that would be easy using the static buffer. There are now two static buffers, one of length MAXPATHLEN in getbootfile() and one of length MAXLINE+1 in syslogd.c. MAXLINE just happens to be the same as MAXPATHLEN. Bruce