Updates for 10.5 API changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-02-23 20:42:32 +00:00
parent 0b528e776c
commit 30cf8bf35b
138 changed files with 2094 additions and 1536 deletions

View file

@ -572,7 +572,7 @@ static char **_gnu_noobjc_env = NULL;
// Read commandline
proc_file_name = (char*)objc_malloc(sizeof(char) * 2048);
sprintf(proc_file_name, "/proc/%d/psinfo", (int) getpid());
sprintf(proc_file_name, "/proc/%d/psinfo", (int)getpid());
ifp = fopen(proc_file_name, "r");
if (ifp == NULL)
@ -681,7 +681,7 @@ static char **_gnu_noobjc_env = NULL;
// Read commandline
proc_file_name = (char *)objc_malloc(sizeof(char) * 2048);
sprintf(proc_file_name, "/proc/%d/cmdline", (int) getpid());
sprintf(proc_file_name, "/proc/%d/cmdline", (int)getpid());
/*
* We read the /proc file thrice.
@ -1147,7 +1147,7 @@ static void determineOperatingSystem()
}
}
- (unsigned int) operatingSystem
- (NSUInteger) operatingSystem
{
if (_operatingSystem == 0)
{