Differences From Artifact [6199066dbb]:
- File src/OFFileURLHandler.m — part of check-in [17d57e01ff] at 2019-06-17 02:33:47 on branch trunk — Remove underscores from class names (user: js, size: 32408) [annotate] [blame] [check-ins using]
To Artifact [1d7d83199f]:
- File
src/OFFileURLHandler.m
— part of check-in
[1cf09c3b58]
at
2019-07-28 09:27:00
on branch trunk
— Replace custom code for MorphOS with stat()
Newer MorphOS versions properly take the time zone into account to get a
proper UNIX timestamp. (user: js, size: 32281) [annotate] [blame] [check-ins using]
︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | - + | # include <proto/dos.h> # include <proto/locale.h> # ifdef OF_AMIGAOS4 # define DeleteFile(path) Delete(path) # endif #endif |
︙ | |||
221 222 223 224 225 226 227 | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | - + | buffer->st_atime = filetimeToTimeInterval(&data.ftLastAccessTime); buffer->st_mtime = filetimeToTimeInterval(&data.ftLastWriteTime); buffer->st_ctime = buffer->st_birthtime = filetimeToTimeInterval(&data.ftCreationTime); buffer->fileAttributes = data.dwFileAttributes; return 0; |
︙ | |||
250 251 252 253 254 255 256 | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | - - - + - - - + - - - - + | errno = 0; break; } return -1; } |
︙ |