Differences From Artifact [91fefa5006]:
- File
src/OFApplication.m
— part of check-in
[c5e7dd679b]
at
2013-09-17 16:12:37
on branch trunk
— Work around Android bugs.
Includes:
* Check environ against NULL before using it, since Android sets it to
NULL.
* Cast st_size of struct stat to off_t. Android uses long long for
st_size as its off_t is only 32 bit, but st_size should be off_t
according to POSIX.
* Android's strtod() does not accept 0x, as specified by C99. Thus,
the test is disabled if __ANDROID__ is defined. (user: js, size: 9892) [annotate] [blame] [check-ins using]
To Artifact [c9284fd43c]:
- File
src/OFApplication.m
— part of check-in
[fa6496efc7]
at
2013-12-05 17:48:11
on branch trunk
— Make coding style consistent.
A file documenting the coding style will be written soon. This will
hopefully prevent conflicts in the future, such as whether static
functions are written in camelCase or_with_underscores, like was the
case here. (user: js, size: 9890) [annotate] [blame] [check-ins using]
︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | - + | #endif - (void)OF_run; @end static OFApplication *app = nil; static void |
︙ | |||
176 177 178 179 180 181 182 | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | - + | char **env = environ; #else char *env; #endif environment = [[OFMutableDictionary alloc] init]; |
︙ |