Differences From Artifact [3256a71833]:
- File
src/OFProcess.m
— part of check-in
[6b13727ce0]
at
2015-11-29 14:02:11
on branch trunk
— Make use of fast enumeration
Now that we require GCC >= 4.6 anyway, there's no more reason to not use
it anymore. (user: js, size: 14266) [annotate] [blame] [check-ins using]
To Artifact [b05e103aab]:
- File
src/OFProcess.m
— part of check-in
[2aca549d60]
at
2015-11-29 14:23:09
on branch trunk
— Clean up class extensions
Now that we can require GCC >= 4.6, we no longer need to fall back to
using a category on old compilers. (user: js, size: 14247) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
52 53 54 55 56 57 58 | # include <windows.h> #endif #if !defined(OF_WINDOWS) && !defined(HAVE_POSIX_SPAWNP) extern char **environ; #endif | | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# include <windows.h>
#endif
#if !defined(OF_WINDOWS) && !defined(HAVE_POSIX_SPAWNP)
extern char **environ;
#endif
@interface OFProcess ()
#ifndef OF_WINDOWS
- (void)OF_getArgV: (char***)argv
forProgramName: (OFString*)programName
andArguments: (OFArray*)arguments;
- (char**)OF_environmentForDictionary: (OFDictionary*)dictionary;
#else
- (of_char16_t*)OF_environmentForDictionary: (OFDictionary*)dictionary;
|
| ︙ | ︙ |