diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-06 11:25:41 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-09-06 11:25:41 (GMT) |
| commit | 6269e32c3bc28d6bca8d70ec499e152648356f5c (patch) | |
| tree | 4a7fb8acf050c062d95f484da84d53c9b2917adc /generic/tclStubInit.c | |
| parent | 3e7ffcaf4bde6d7e7a030c603ff78b586704891b (diff) | |
| download | tcl-6269e32c3bc28d6bca8d70ec499e152648356f5c.zip tcl-6269e32c3bc28d6bca8d70ec499e152648356f5c.tar.gz tcl-6269e32c3bc28d6bca8d70ec499e152648356f5c.tar.bz2 | |
Bug-fix: Move TclZipfs_AppHook() from 0 -> 2 in the stub table, otherwise it overrides the entry for Tcl_MacOSXOpenBundleResources (since MacOSX is UNIX as well...).
Diffstat (limited to 'generic/tclStubInit.c')
| -rw-r--r-- | generic/tclStubInit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 93ec08a..bf3a8d1 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -838,7 +838,9 @@ static const TclPlatStubs tclPlatStubs = { TCL_STUB_MAGIC, 0, #if !defined(_WIN32) && !defined(__CYGWIN__) && !defined(MAC_OSX_TCL) /* UNIX */ - TclZipfs_AppHook, /* 0 */ + 0, /* 0 */ + 0, /* 1 */ + TclZipfs_AppHook, /* 2 */ #endif /* UNIX */ #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ Tcl_WinUtfToTChar, /* 0 */ @@ -846,8 +848,9 @@ static const TclPlatStubs tclPlatStubs = { TclZipfs_AppHook, /* 2 */ #endif /* WIN */ #ifdef MAC_OSX_TCL /* MACOSX */ - TclZipfs_AppHook, /* 0 */ + Tcl_MacOSXOpenBundleResources, /* 0 */ Tcl_MacOSXOpenVersionedBundleResources, /* 1 */ + TclZipfs_AppHook, /* 2 */ #endif /* MACOSX */ }; |
