Write to stdout if LOG_INFO

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13148 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-03-18 16:22:28 +00:00
parent c3e720dad7
commit faf010f1b6
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-03-18 Adam Fedor <fedor@gnu.org>
* Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.

View file

@ -257,7 +257,7 @@ gdomap_log (int prio)
{
syslog (log_priority | prio, ebuf);
}
else if (prio == 0)
else if (prio == LOG_INFO)
{
write (0, ebuf, strlen (ebuf));
write (0, "\n", 1);