diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 07:59:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 07:59:58 (GMT) |
commit | 1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87 (patch) | |
tree | 303130da4d4f15e9ff789c725197316add30d792 | |
parent | 4ca24992adde00da972e38b64d055d9b6a83e7ea (diff) | |
download | tcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.zip tcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.tar.gz tcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.tar.bz2 |
[Bug 2935503]: Windows: file mtime sets wrong time
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclCmdAH.c | 5 | ||||
-rw-r--r-- | generic/tclIOUtil.c | 5 | ||||
-rw-r--r-- | win/tclWinFile.c | 1 |
4 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2011-11-22 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/tclCmdAH.c: [Bug 2935503] Windows: file mtime + * generic/tclIOUtil.c: sets wrong time + 2011-10-11 Jan Nijtmans <nijtmans@users.sf.net> * win/tclWinFile.c: [Bug 2935503] Incorrect mode field diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index c170b9b..02f398d 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -12,6 +12,11 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#ifndef _WIN64 +/* See [Bug 2935503]: file mtime sets wrong time */ +# define _USE_32BIT_TIME_T +#endif + #include <sys/stat.h> #include "tclInt.h" #include "tclPort.h" diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 94d3e22..b54b76b 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -18,6 +18,11 @@ * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#ifndef _WIN64 +/* See [Bug 2935503]: file mtime sets wrong time */ +# define _USE_32BIT_TIME_T +#endif + #include <sys/stat.h> #include "tclInt.h" #include "tclPort.h" diff --git a/win/tclWinFile.c b/win/tclWinFile.c index c98c42c..5a3f193 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -13,6 +13,7 @@ */ #ifndef _WIN64 +/* See [Bug 2935503]: file mtime sets wrong time */ # define _USE_32BIT_TIME_T #endif #include <sys/stat.h> |