Differences From 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...]
To Artifact [bd75067227]:
- File src/OFFileManager.m — part of check-in [9c3423636f] at 2017-08-05 21:50:06 on branch trunk — OFFileManager: s/\(modification\)Time/\1Date/ (user: js, size: 30643) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
686 687 688 689 690 691 692 | @throw [OFStatItemFailedException exceptionWithPath: path errNo: errno]; /* FIXME: We could be more precise on some OSes */ return [OFDate dateWithTimeIntervalSince1970: s.st_atime]; } | | | 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 | @throw [OFStatItemFailedException exceptionWithPath: path errNo: errno]; /* FIXME: We could be more precise on some OSes */ return [OFDate dateWithTimeIntervalSince1970: s.st_atime]; } - (OFDate *)modificationDateOfItemAtPath: (OFString *)path { of_stat_t s; if (path == nil) @throw [OFInvalidArgumentException exception]; if (of_stat(path, &s) != 0) |
︙ | ︙ |