mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
0b528e776c
commit
30cf8bf35b
138 changed files with 2094 additions and 1536 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue