mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
More user defaults modification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11359 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01c5c95a40
commit
8cd9e00585
16 changed files with 205 additions and 162 deletions
|
@ -39,6 +39,8 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "GSUserDefaults.h"
|
||||
|
||||
static void
|
||||
_NSLog_standard_printf_handler (NSString* message)
|
||||
{
|
||||
|
@ -67,7 +69,7 @@ _NSLog_standard_printf_handler (NSString* message)
|
|||
|
||||
#ifdef HAVE_SYSLOG
|
||||
|
||||
if (write(2, buf, len) != len)
|
||||
if (GSUserDefaultsFlag(GSLogSyslog) == YES || write(2, buf, len) != len)
|
||||
{
|
||||
int mask;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue