Tcl Source Code

Check-in [18d103467f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[Bug 2935503]: Windows: file mtime sets wrong time
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 18d103467f3575a2b760d473594a44607652e138
User & Date: jan.nijtmans 2011-11-22 07:59:58
Context
2011-11-29
20:09
Use the same shebang comment everywhere check-in: 1ee716a733 user: jan.nijtmans tags: core-8-4-branch
2011-11-22
08:25
[Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only) check-in: 8a10f0c0ea user: jan.nijtmans tags: core-8-5-branch
07:59
[Bug 2935503]: Windows: file mtime sets wrong time check-in: 18d103467f user: jan.nijtmans tags: core-8-4-branch
2011-10-13
07:56
revert test-case change from [Bug 2935503] check-in: 80c27dee1f user: jan.nijtmans tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7





2011-10-11  Jan Nijtmans  <[email protected]>

	* win/tclWinFile.c:    [Bug 2935503] Incorrect mode field
	returned by file stat command

2011-10-07  Jan Nijtmans  <[email protected]>

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2011-11-22  Jan Nijtmans  <[email protected]>

	* generic/tclCmdAH.c:   [Bug 2935503] Windows: file mtime
	* generic/tclIOUtil.c:  sets wrong time

2011-10-11  Jan Nijtmans  <[email protected]>

	* win/tclWinFile.c:    [Bug 2935503] Incorrect mode field
	returned by file stat command

2011-10-07  Jan Nijtmans  <[email protected]>

Changes to generic/tclCmdAH.c.

1
2
3
4
5
6
7
8
9
10
11
12
13





14
15
16
17
18
19
20
/* 
 * tclCmdAH.c --
 *
 *	This file contains the top-level command routines for most of
 *	the Tcl built-in commands whose names begin with the letters
 *	A to H.
 *
 * Copyright (c) 1987-1993 The Regents of the University of California.
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 */






#include <sys/stat.h>
#include "tclInt.h"
#include "tclPort.h"
#include <locale.h>

/*













>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* 
 * tclCmdAH.c --
 *
 *	This file contains the top-level command routines for most of
 *	the Tcl built-in commands whose names begin with the letters
 *	A to H.
 *
 * Copyright (c) 1987-1993 The Regents of the University of California.
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * 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"
#include <locale.h>

/*

Changes to generic/tclIOUtil.c.

13
14
15
16
17
18
19





20
21
22
23
24
25
26
 *
 * Copyright (c) 1991-1994 The Regents of the University of California.
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 */






#include <sys/stat.h>
#include "tclInt.h"
#include "tclPort.h"
#ifdef MAC_TCL
#include "tclMacInt.h"
#endif







>
>
>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 *
 * Copyright (c) 1991-1994 The Regents of the University of California.
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * 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"
#ifdef MAC_TCL
#include "tclMacInt.h"
#endif

Changes to win/tclWinFile.c.

9
10
11
12
13
14
15

16
17
18
19
20
21
22
 * Copyright (c) 1995-1998 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 */

#ifndef _WIN64

#   define _USE_32BIT_TIME_T
#endif
#include <sys/stat.h>
#include "tclWinInt.h"
#include <winioctl.h>
#include <shlobj.h>
#include <lmaccess.h>		/* For TclpGetUserHome(). */







>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 * Copyright (c) 1995-1998 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * 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 "tclWinInt.h"
#include <winioctl.h>
#include <shlobj.h>
#include <lmaccess.h>		/* For TclpGetUserHome(). */