From owner-cvs-lib Thu Mar 20 08:28:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23073 for cvs-lib-outgoing; Thu, 20 Mar 1997 08:28:34 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23051; Thu, 20 Mar 1997 08:28:29 -0800 (PST) Date: Thu, 20 Mar 1997 08:28:29 -0800 (PST) From: John Polstra Message-Id: <199703201628.IAA23051@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-sys Subject: cvs commit: src/lib/libc/gen syslog.c src/sys/sys syslog.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 97/03/20 08:28:28 Modified: lib/libc/gen syslog.c sys/sys syslog.h Log: Add backward compatibility so that static executables built on modern FreeBSD systems will syslog properly on older systems that still name the logging socket "/dev/log". This includes pre-2.2 versions of FreeBSD as well as BSD/OS systems. If the connect to "/var/run/log" fails, the function now tries to connect to "/dev/log" as a fallback. Revision Changes Path 1.13 +23 -10 src/lib/libc/gen/syslog.c 1.13 +2 -1 src/sys/sys/syslog.h