[newlib 65/65] libc/syslog: fully deprecate and don't try to open "/dev/log"

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 7 11:59:12 UTC 2022


From: Gleb Smirnoff <glebius at FreeBSD.org>

The "/dev/log" socket existed in pre-FreeBSD times.  Later it was
substituted to a compatibility symlink.  The symlink creation was
deprecated in FreeBSD 10.2 and 9-STABLE.

Reviewed by:		markj
Differential revision:	https://reviews.freebsd.org/D35304
---
 newlib/libc/sys/rtems/include/sys/syslog.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/newlib/libc/sys/rtems/include/sys/syslog.h b/newlib/libc/sys/rtems/include/sys/syslog.h
index 071b68427..ff2bd1450 100644
--- a/newlib/libc/sys/rtems/include/sys/syslog.h
+++ b/newlib/libc/sys/rtems/include/sys/syslog.h
@@ -37,7 +37,6 @@
 
 #define	_PATH_LOG	"/var/run/log"
 #define	_PATH_LOG_PRIV	"/var/run/logpriv"
-#define	_PATH_OLDLOG	"/dev/log"	/* backward compatibility */
 
 /*
  * priorities/facilities are encoded into a single 32-bit quantity, where the
-- 
2.35.3



More information about the devel mailing list