[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG report] NSLog on Windows!!
From: |
Lloyd Dupont |
Subject: |
[BUG report] NSLog on Windows!! |
Date: |
Wed, 30 Nov 2005 11:57:39 +1000 |
Sorry, it's me again, made a new "discovery"
In fact there is a bug in NSLog.m: 147
if ((GSUserDefaultsFlag(GSLogSyslog) == YES
|| write(_NSLogDescriptor, buf, len) != (int)len) &&
!IsDebuggerPresent())
why is it OR (||) shouldn't it be AND (&&)
certainly if the user disable GSLogSyslog it's bug to ignore his setting,
isn't it?
So it should be set to:
if ((GSUserDefaultsFlag(GSLogSyslog) == YES
&& write(_NSLogDescriptor, buf, len) != (int)len) &&
!IsDebuggerPresent())
- [BUG report] NSLog on Windows!!,
Lloyd Dupont <=