Overview
Comment: | Consider TMPDIR for temporary directory IRI |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
915d45a586a71e5dc12e76b8b4f589e4 |
User & Date: | js on 2022-12-29 15:12:44 |
Other Links: | manifest | tags |
Context
2022-12-29
| ||
15:35 | Fix pthread_attr_setinheritsched check check-in: 15365e62aa user: js tags: trunk | |
15:12 | Consider TMPDIR for temporary directory IRI check-in: 915d45a586 user: js tags: trunk | |
15:06 | Improve check for pthread_attr_setinheritsched check-in: 7db789ca8d user: js tags: trunk | |
Changes
Modified src/OFSystemInfo.m from [c85e386df7] to [534d46329b].
︙ | ︙ | |||
608 609 610 611 612 613 614 | return [OFIRI fileIRIWithPath: @"u:\\tmp" isDirectory: true]; # elif defined(OF_NINTENDO_SWITCH) static OFOnceControl onceControl = OFOnceControlInitValue; OFOnce(&onceControl, mountTmpFS); return tmpFSIRI; # else | | > | > > > | | | 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 | return [OFIRI fileIRIWithPath: @"u:\\tmp" isDirectory: true]; # elif defined(OF_NINTENDO_SWITCH) static OFOnceControl onceControl = OFOnceControlInitValue; OFOnce(&onceControl, mountTmpFS); return tmpFSIRI; # else OFString *path; path = [[OFApplication environment] objectForKey: @"XDG_RUNTIME_DIR"]; if (path != nil) return [OFIRI fileIRIWithPath: path isDirectory: true]; path = [[OFApplication environment] objectForKey: @"TMPDIR"]; if (path != nil) return [OFIRI fileIRIWithPath: path isDirectory: true]; return [OFIRI fileIRIWithPath: @"/tmp" isDirectory: true]; # endif #else return nil; #endif } + (OFString *)CPUVendor |
︙ | ︙ |