Differences From Artifact [521a1f3185]:
- File src/OFProcess.m — part of check-in [d1e559b643] at 2014-05-29 21:27:34 on branch trunk — Work around __block being used by old glibc (user: js, size: 11984) [annotate] [blame] [check-ins using]
To Artifact [bf59320c7a]:
- File
src/OFProcess.m
— part of check-in
[68d32a92c1]
at
2014-06-16 15:06:26
on branch trunk
— Make return type of -[OFArray objects] const
After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (user: js, size: 11990) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
139 140 141 142 143 144 145 |
#ifndef _WIN32
if (pipe(_readPipe) != 0 || pipe(_writePipe) != 0)
@throw [OFInitializationFailedException
exceptionWithClass: [self class]];
switch ((_pid = fork())) {
case 0:;
| | | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
#ifndef _WIN32
if (pipe(_readPipe) != 0 || pipe(_writePipe) != 0)
@throw [OFInitializationFailedException
exceptionWithClass: [self class]];
switch ((_pid = fork())) {
case 0:;
OFString *const *objects = [arguments objects];
size_t i, count = [arguments count];
char **argv;
of_string_encoding_t encoding;
argv = [self allocMemoryWithSize: sizeof(char*)
count: count + 2];
|
| ︙ | ︙ |