From 0f289b2a11ae12da5331f065bad765280eb8f95e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 23 Feb 2006 22:50:36 +0000 Subject: [BZ #2172] * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail" label is always used. [BZ #2172] * bits/syslog-path.h: New file. * misc/Makefile (headers): Add it. * misc/sys/syslog.h: Include it. (_PATH_LOG): Macro removed. From Robert Millan . --- misc/Makefile | 3 ++- misc/sys/syslog.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/Makefile b/misc/Makefile index 7d60baa..63b6d41 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -30,7 +30,8 @@ headers := sys/uio.h bits/uio.h sys/ioctl.h bits/ioctls.h bits/ioctl-types.h \ sys/queue.h sysexits.h syscall.h sys/syscall.h sys/swap.h \ sys/select.h ustat.h sys/ustat.h bits/ustat.h sys/sysinfo.h \ regexp.h bits/select.h bits/mman.h sys/xattr.h \ - syslog.h sys/syslog.h bits/syslog.h bits/syslog-ldbl.h + syslog.h sys/syslog.h \ + bits/syslog.h bits/syslog-ldbl.h bits/syslog-path.h routines := brk sbrk sstk ioctl \ readv writev \ diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h index 0bc5b8d..4ed57c2 100644 --- a/misc/sys/syslog.h +++ b/misc/sys/syslog.h @@ -36,8 +36,8 @@ #define __need___va_list #include - -#define _PATH_LOG "/dev/log" +/* This file defines _PATH_LOG. */ +#include /* * priorities/facilities are encoded into a single 32-bit quantity, where the -- cgit v1.1