Tcl Source Code

Check-in [147a7ce2f1]
Login

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

Overview
Comment:[Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 147a7ce2f1ae0e1a1d57b52e57c5141b4883794e
User & Date: jan 2011-04-21 21:09:05
Context
2011-04-26
19:15
struct _stat64 -> struct __stat64 for AMD64 check-in: 39fdf9dcd5 user: jan tags: core-8-4-branch
2011-04-21
21:13
[Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality check-in: 781ea5180b user: jan tags: core-8-5-branch
21:09
[Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality check-in: 147a7ce2f1 user: jan tags: core-8-4-branch
12:58
Make sure SetFooFromAny routines react reasonably when passed a NULL interp. check-in: 2adc132d52 user: dgp tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/tclWinPort.h.

95
96
97
98
99
100
101
102
103
104
105
106
107
108
109





110
111
112

113
114
115
116
117
118
119
#endif

/*
 * Not all mingw32 versions have this struct.
 */
#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64)
  struct _stat32i64 {
    _dev_t st_dev;
    _ino_t st_ino;
    unsigned short st_mode;
    short st_nlink;
    short st_uid;
    short st_gid;
    _dev_t st_rdev;
    __int64 st_size;





    long st_atime;
    long st_mtime;
    long st_ctime;

  };
#endif

/*
 * The following defines redefine the Windows Socket errors as
 * BSD errors so Tcl_PosixError can do the right thing.
 */







|
|




|

>
>
>
>
>



>







95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#endif

/*
 * Not all mingw32 versions have this struct.
 */
#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64)
  struct _stat32i64 {
    dev_t st_dev;
    ino_t st_ino;
    unsigned short st_mode;
    short st_nlink;
    short st_uid;
    short st_gid;
    dev_t st_rdev;
    __int64 st_size;
#ifdef __CYGWIN__
    struct {long tv_sec;} st_atim;
    struct {long tv_sec;} st_mtim;
    struct {long tv_sec;} st_ctim;
#else
    long st_atime;
    long st_mtime;
    long st_ctime;
#endif
  };
#endif

/*
 * The following defines redefine the Windows Socket errors as
 * BSD errors so Tcl_PosixError can do the right thing.
 */