Differences From Artifact [8f91c19e94]:
- File
src/OFFileManager.m
— part of check-in
[c52f38388c]
at
2019-04-11 00:34:43
on branch trunk
— Make OFFileManager available with --disable-files
As OFFileManager also works with remote URLs, it makes sense to also
make it available when local files are disabled. In this case, all
path-based methods are unavailable. (user: js, size: 23763) [annotate] [blame] [check-ins using]
To Artifact [88398e5090]:
- File src/OFFileManager.m — part of check-in [40589ab9d4] at 2019-04-14 16:35:19 on branch trunk — OFFileManager: Only open dos.library if HAVE_FILES (user: js, size: 23765) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
151 152 153 154 155 156 157 | @implementation OFFileManager + (void)initialize { if (self != [OFFileManager class]) return; | > | | < | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | @implementation OFFileManager + (void)initialize { if (self != [OFFileManager class]) return; #ifdef OF_HAVE_FILES # ifdef OF_AMIGAOS4 if ((DOSBase = OpenLibrary("dos.library", 36)) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; if ((IDOS = (struct DOSIFace *) GetInterface(DOSBase, "main", 1, NULL)) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; # endif /* * Make sure OFFile is initialized. * On some systems, this is needed to initialize the file system driver. */ [OFFile class]; #endif |
︙ | ︙ |