In 8.6a3 the Tcl_FSFileAttrStringsProc had additional const added to it
authorPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 10 Oct 2008 21:57:36 +0000 (21:57 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 10 Oct 2008 21:57:36 +0000 (21:57 +0000)
and a CONST86 macro was added for compatability. Make use of it.

ChangeLog
generic/vfs.c

index fb19aaa20a89c59f59d22ad86a945d74f266ce57..47109cc804deadbb78b9f92eda433b0c56c56fe8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-10  Pat Thoyts  <patthoyts@users.sourceforge.net>
+
+       * generic/vfs.c: Make use of CONST86 for 8.6a3 support.
+
 2008-08-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
 
        * http2.6/http.tcl: Merged zlib crc fix from Tcl.
index e785e56805bcf4c43123bc13ebf9d35f10af90a4..ed189fd6ae282bed70a1cc5ba647f20ff177570e 100644 (file)
 #define TCL_GLOB_TYPE_MOUNT            (1<<7)
 #endif
 
+#ifndef CONST86
+#define CONST86
+#endif
+
 /*
  * Only the _Init function is exported.
  */
@@ -1656,7 +1660,7 @@ VfsRemoveDirectory(
     return returnVal;
 }
 
-static CONST char**
+static CONST char * CONST86 *
 VfsFileAttrStrings(pathPtr, objPtrRef)
     Tcl_Obj* pathPtr;
     Tcl_Obj** objPtrRef;