Overview
Comment: | Revert back to native MiNT paths
The problem was mixing UNIX and native paths in |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
74a6376d8163001184e31d8cc6eded2e |
User & Date: | js on 2022-01-29 22:00:29 |
Other Links: | manifest | tags |
Context
2022-01-29
| ||
22:00 | Fix redefinition of struct sockaddr_un on MiNT check-in: 1fba563718 user: js tags: trunk | |
22:00 | Revert back to native MiNT paths check-in: 74a6376d81 user: js tags: trunk | |
21:47 | Enable sockets on MiNT check-in: 04d97d6ce2 user: js tags: trunk | |
21:06 | MiNT uses UNIX paths after all check-in: 1e3e169ec3 user: js tags: trunk | |
Changes
Modified src/OFString+PathAdditions.m from [6ba7aac1d0] to [5949517844].
︙ | ︙ | |||
13 14 15 16 17 18 19 | * file. */ #include "config.h" #include "platform.h" | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | * file. */ #include "config.h" #include "platform.h" #if defined(OF_WINDOWS) || defined(OF_MSDOS) || defined(OF_MINT) # import "platform/Windows/OFString+PathAdditions.m" #elif defined(OF_AMIGAOS) # import "platform/AmigaOS/OFString+PathAdditions.m" #elif defined(OF_NINTENDO_3DS) || defined(OF_WII) # import "platform/libfat/OFString+PathAdditions.m" #else # import "platform/POSIX/OFString+PathAdditions.m" #endif |
Modified src/OFSystemInfo.m from [898b4a7065] to [67c38c88aa].
︙ | ︙ | |||
562 563 564 565 566 567 568 569 570 571 572 573 574 575 | object: self]; return [OFString stringWithUTF8String: pathC]; # elif defined(OF_AMIGAOS) return @"T:"; # elif defined(OF_MSDOS) return [[OFApplication environment] objectForKey: @"TEMP"]; # else OFString *path = [[OFApplication environment] objectForKey: @"XDG_RUNTIME_DIR"]; if (path != nil) return path; | > > | 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 | object: self]; return [OFString stringWithUTF8String: pathC]; # elif defined(OF_AMIGAOS) return @"T:"; # elif defined(OF_MSDOS) return [[OFApplication environment] objectForKey: @"TEMP"]; # elif defined(OF_MINT) return @"u:\\tmp"; # else OFString *path = [[OFApplication environment] objectForKey: @"XDG_RUNTIME_DIR"]; if (path != nil) return path; |
︙ | ︙ |
Modified src/platform/Windows/OFString+PathAdditions.m from [adef09bc0d] to [a13c858a37].
︙ | ︙ | |||
10 11 12 13 14 15 16 | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ /* | | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ /* * This file is also used for MS-DOS and MiNT! Don't forget to #ifdef * Windows-specific parts! */ #include "config.h" #import "OFString+PathAdditions.h" #import "OFArray.h" #import "OFFileURLHandler.h" |
︙ | ︙ |