patches/glibc/ports-2.13/650-syslog.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Wed Aug 17 23:53:49 2011 +0200 (2011-08-17) |
branch | 1.12 |
changeset 2634 |
e29a762bbadf |
permissions |
-rw-r--r-- |
debug/gdb: we don't care if the host tic is shared or static
Because we need our own host tic, we have to build it; and we do build
it statically for now.
But as MacOS/Darwin/Whatever-you-call-it does not support static linking
(what a shame!), it fails.
Anyway, we don't really care it being shared, in the end.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 41bd6777fa4f767d6264db7c58986920014fd708)
yann@2438
|
1 |
diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c
|
yann@2438
|
2 |
--- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200
|
yann@2438
|
3 |
+++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200
|
yann@2438
|
4 |
@@ -152,7 +152,7 @@
|
yann@2438
|
5 |
#define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID
|
yann@2438
|
6 |
/* Check for invalid bits. */
|
yann@2438
|
7 |
if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) {
|
yann@2438
|
8 |
- syslog(INTERNALLOG,
|
yann@2438
|
9 |
+ __syslog(INTERNALLOG,
|
yann@2438
|
10 |
"syslog: unknown facility/priority: %x", pri);
|
yann@2438
|
11 |
pri &= LOG_PRIMASK|LOG_FACMASK;
|
yann@2438
|
12 |
}
|