Differences From Artifact [adc8ffdec0]:
- File src/file.c — part of check-in [0c37874941] at 2012-10-10 16:06:37 on branch trunk — The "fossil undo" and "fossil redo" commands remember file mtimes and restore them appropriately. When upgrading through this version, you may need to run "fossil undo --reset" to clear your old undo stack. (user: drh size: 30893) [more...]
To Artifact [91e4570f94]:
- File
src/file.c
— part of check-in
[d2e1469d12]
at
2012-10-15 05:28:46
on branch use-utf8-in-win-external-editor
— unused variable includeDotFiles
struct utimbuf -> struct _utimbuf (compiler warning with mingw-w64)
a few "const" additions
(user: jan.nijtmans size: 30894) [more...]
| ︙ | ︙ | |||
400 401 402 403 404 405 406 | #if !defined(_WIN32) struct timeval tv[2]; memset(tv, 0, sizeof(tv[0])*2); tv[0].tv_sec = newMTime; tv[1].tv_sec = newMTime; utimes(zFilename, tv); #else | | | 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 | #if !defined(_WIN32) struct timeval tv[2]; memset(tv, 0, sizeof(tv[0])*2); tv[0].tv_sec = newMTime; tv[1].tv_sec = newMTime; utimes(zFilename, tv); #else struct _utimbuf tb; wchar_t *zMbcs = fossil_utf8_to_unicode(zFilename); tb.actime = newMTime; tb.modtime = newMTime; _wutime(zMbcs, &tb); fossil_mbcs_free(zMbcs); #endif } |
| ︙ | ︙ |