Differences From Artifact [7bb3d63d81]:
- File
src/OFFileManager.m
— part of check-in
[23e57c5040]
at
2017-07-22 23:04:35
on branch trunk
— OFFile: Simplify mode
This removes "b" for binary and always uses binary, as there is no good
reason to not use binary. (user: js, size: 30629) [annotate] [blame] [check-ins using]
To Artifact [f7096a9a7b]:
- File
src/OFFileManager.m
— part of check-in
[e8005a3cc2]
at
2017-08-03 19:17:44
on branch 0.90
— OFFileManager: Set errno to 0 before readdir()
glibc documents this as being required, as does POSIX. However, none of
the BSDs document this, and don't seem to require it. (user: js, size: 30643) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
569 570 571 572 573 574 575 576 577 578 579 580 581 582 | exceptionWithObject: self requestedLength: 0 errNo: errno]; if (dirent == NULL) break; # else if ((dirent = readdir(dir)) == NULL) { if (errno == 0) break; else @throw [OFReadFailedException exceptionWithObject: self requestedLength: 0 | > | 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | exceptionWithObject: self requestedLength: 0 errNo: errno]; if (dirent == NULL) break; # else errno = 0; if ((dirent = readdir(dir)) == NULL) { if (errno == 0) break; else @throw [OFReadFailedException exceptionWithObject: self requestedLength: 0 |
︙ | ︙ |