patches/glibc/ports-2.13/650-syslog.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Feb 05 23:26:55 2012 +0100 (2012-02-05)
branch1.14
changeset 2869 82f3da5d402e
permissions -rw-r--r--
scripts: fix download from sourceforge

It seems sourceforge changed yet again the way to download files.
This time, no longer use their 'mesh' thingy, and hard-code the
server to use in the URL... Sigh... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from ef6dad58ab1cd38946258552a3ee624a6339f54c)
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
 	}