public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
@ 2006-01-18 10:37 robertmh at gnu dot org
2006-01-18 10:38 ` [Bug ports/2172] " robertmh at gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: robertmh at gnu dot org @ 2006-01-18 10:37 UTC (permalink / raw)
To: glibc-bugs
On GNU/kFreeBSD, the kernel doesn't allow creating named pipes in /dev.
Therefore, on this platform, _PATH_LOG needs to be redefined to something
outside this directory.
This patch moves the _PATH_LOG definition to sysdeps/.../paths.h so that it can
be overriden in our version of that header.
--
Summary: [PATCH] move _PATH_LOG definition to <paths.h> (in
sysdeps)
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ports
AssignedTo: roland at gnu dot org
ReportedBy: robertmh at gnu dot org
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-kfreebsd-gnu
GCC host triplet: i686-pc-kfreebsd-gnu
GCC target triplet: i686-pc-kfreebsd-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/2172] [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
@ 2006-01-18 10:38 ` robertmh at gnu dot org
2006-02-22 2:46 ` roland at gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: robertmh at gnu dot org @ 2006-01-18 10:38 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From robertmh at gnu dot org 2006-01-18 10:38 -------
Created an attachment (id=839)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=839&action=view)
move _PATH_LOG definition to paths.h
2006-01-18 Robert Millan <robertmh@gnu.org>
* sysdeps/generic/paths.h: Define _PATH_LOG (as "/dev/log").
* sysdeps/unix/sysv/linux/paths.h: Ditto.
* misc/sys/syslog.h: Stop defining _PATH_LOG, and include <paths.h>
instead.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/2172] [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
2006-01-18 10:38 ` [Bug ports/2172] " robertmh at gnu dot org
@ 2006-02-22 2:46 ` roland at gnu dot org
2006-02-22 16:54 ` robertmh at gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: roland at gnu dot org @ 2006-02-22 2:46 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2006-02-22 02:46 -------
I am not especially happy with the idea of pulling in all paths.h definitions
from syslog.h, and existing applications clearly require that _PATH_LOG be
defined in syslog.h. I also haven't seen any other example of a system whose
paths.h does define _PATH_LOG, though putting it there is an obvious thing to do
and seems thoroughly harmless. I am less sanguine about syslog.h pulling in
_PATH_*, which might annoy some existing source code. The more conservative
patch would add a sysdeps files bits/syslog-path.h for it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/2172] [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
2006-01-18 10:38 ` [Bug ports/2172] " robertmh at gnu dot org
2006-02-22 2:46 ` roland at gnu dot org
@ 2006-02-22 16:54 ` robertmh at gnu dot org
2006-02-23 22:50 ` cvs-commit at gcc dot gnu dot org
2007-02-18 13:58 ` aj at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: robertmh at gnu dot org @ 2006-02-22 16:54 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From robertmh at gnu dot org 2006-02-22 16:54 -------
Created an attachment (id=888)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=888&action=view)
patch
Ok, here you are.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #839 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/2172] [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
` (2 preceding siblings ...)
2006-02-22 16:54 ` robertmh at gnu dot org
@ 2006-02-23 22:50 ` cvs-commit at gcc dot gnu dot org
2007-02-18 13:58 ` aj at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2006-02-23 22:50 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2006-02-23 22:50 -------
Subject: Bug 2172
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2006-02-23 22:50:16
Modified files:
misc : Makefile
misc/sys : syslog.h
Added files:
bits : syslog-path.h
Log message:
2006-02-23 Roland McGrath <roland@redhat.com>
[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 <robertmh@gnu.org>.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/misc/Makefile.diff?cvsroot=glibc&r1=1.117&r2=1.118
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/bits/syslog-path.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/misc/sys/syslog.h.diff?cvsroot=glibc&r1=1.16&r2=1.17
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/2172] [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps)
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
` (3 preceding siblings ...)
2006-02-23 22:50 ` cvs-commit at gcc dot gnu dot org
@ 2007-02-18 13:58 ` aj at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: aj at suse dot de @ 2007-02-18 13:58 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aj at suse dot de 2007-02-18 13:58 -------
fixed now.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=2172
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-18 13:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 10:37 [Bug ports/2172] New: [PATCH] move _PATH_LOG definition to <paths.h> (in sysdeps) robertmh at gnu dot org
2006-01-18 10:38 ` [Bug ports/2172] " robertmh at gnu dot org
2006-02-22 2:46 ` roland at gnu dot org
2006-02-22 16:54 ` robertmh at gnu dot org
2006-02-23 22:50 ` cvs-commit at gcc dot gnu dot org
2007-02-18 13:58 ` aj at suse dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).