mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Tweaks for building with clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
83b5863735
commit
87c6d320c5
24 changed files with 106 additions and 54 deletions
|
@ -52,7 +52,7 @@ gdnc_log (int prio, const char *ebuf)
|
|||
{
|
||||
if (is_daemon)
|
||||
{
|
||||
syslog (log_priority | prio, ebuf);
|
||||
syslog (log_priority | prio, "%s", ebuf);
|
||||
}
|
||||
else if (prio == LOG_INFO)
|
||||
{
|
||||
|
|
|
@ -278,7 +278,7 @@ gdomap_log (int prio)
|
|||
{
|
||||
if (is_daemon)
|
||||
{
|
||||
syslog (log_priority | prio, ebuf);
|
||||
syslog (log_priority | prio, "%s", ebuf);
|
||||
}
|
||||
else if (prio == LOG_INFO)
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ id process_plist(NSData *inputData)
|
|||
NS_DURING
|
||||
propertyList = [string propertyList];
|
||||
NS_HANDLER
|
||||
NSLog([localException description]);
|
||||
NSLog(@"%@", localException);
|
||||
NS_ENDHANDLER
|
||||
|
||||
// return the results
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "config.h"
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue