Get rid of eclipse fiels once and for all.
Homogenise the references to crosstool-NG:
- the project is named "crosstool-NG"
- the front-end is named "ct-ng"
- don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG")
Default action is to print help.
Don't speak of make rules when dumping help, just speak of actions.
1 Backport a bugfix from glibc-2.2.5 to glibc-2.2.2 for the following problem:
2 When syslog-ng is restarted (or HUPed), vixie-cron (and probably other
3 programs) stop logging to syslog.
6 2001-08-27 Ulrich Drepper <Drepper@redhat.com> * misc/syslog.c (vsyslog):
7 Try a bit harder to use syslogd. If the connection went down after we
8 first used it try to connect again and resend the message before printing
11 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/misc/Attic/syslog.c.diff?r1=1.32&r2=1.30&cvsroot=glibc
14 ===================================================================
15 RCS file: /cvs/glibc/libc/misc/Attic/syslog.c,v
16 retrieving revision 1.30
17 retrieving revision 1.32
19 --- glibc-2.2.2/misc/syslog.c 2001/08/24 03:21:14 1.30
20 +++ glibc-2.2.5/misc/syslog.c 2001/08/30 23:13:49 1.32
23 if (!connected || __send(LogFile, buf, bufsize, 0) < 0)
25 - closelog_internal (); /* attempt re-open next time */
27 - * Output the message to the console; don't worry about blocking,
28 - * if console blocks everything will. Make sure the error reported
29 - * is the one from the syslogd failure.
31 - if (LogStat & LOG_CONS &&
32 - (fd = __open(_PATH_CONSOLE, O_WRONLY|O_NOCTTY, 0)) >= 0)
35 - dprintf (fd, "%s\r\n", buf + msgoff);
37 + /* Try to reopen the syslog connection. Maybe it went
39 + closelog_internal ();
40 + openlog_internal(LogTag, LogStat | LOG_NDELAY, 0);
43 + if (!connected || __send(LogFile, buf, bufsize, 0) < 0)
45 + closelog_internal (); /* attempt re-open next time */
47 + * Output the message to the console; don't worry
48 + * about blocking, if console blocks everything will.
49 + * Make sure the error reported is the one from the
52 + if (LogStat & LOG_CONS &&
53 + (fd = __open(_PATH_CONSOLE, O_WRONLY|O_NOCTTY, 0)) >= 0)
55 + dprintf (fd, "%s\r\n", buf + msgoff);