summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:59:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 08:59:11 (GMT)
commit03213340ba02be303de2641c9e070433bfcf133d (patch)
treee7b21db4269785fa9b8c3f301d8053296d79c41c
parentabd37955826e20ddd7de66d3f88b5528c6aa1728 (diff)
parent5aa029e092e22af619bda9d024d4883a637f598a (diff)
downloadtcl-03213340ba02be303de2641c9e070433bfcf133d.zip
tcl-03213340ba02be303de2641c9e070433bfcf133d.tar.gz
tcl-03213340ba02be303de2641c9e070433bfcf133d.tar.bz2
[Bug 3388350] mingw64 compiler warnings
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclPosixStr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 14f2708..79f15b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-08-15 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * generic/tclPosixStr.c: [Bug 3388350] mingw64 compiler warnings
+
2011-08-14 Jan Nijtmans <nijtmans@users.sf.net>
* doc/FindExec.3: [Patch 3124554]: Move WishPanic from Tk to Tcl
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c
index d0002ec..411eb27 100644
--- a/generic/tclPosixStr.c
+++ b/generic/tclPosixStr.c
@@ -35,7 +35,7 @@ const char *
Tcl_ErrnoId(void)
{
switch (errno) {
-#ifdef E2BIG
+#if defined(E2BIG) && (!defined(EOVERFLOW) || (E2BIG != EOVERFLOW))
case E2BIG: return "E2BIG";
#endif
#ifdef EACCES
@@ -494,7 +494,7 @@ Tcl_ErrnoMsg(
int err) /* Error number (such as in errno variable). */
{
switch (err) {
-#ifdef E2BIG
+#if defined(E2BIG) && (!defined(EOVERFLOW) || (E2BIG != EOVERFLOW))
case E2BIG: return "argument list too long";
#endif
#ifdef EACCES