Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Apply fixinternalrepuse.diff from rkeene's kitcreator. Fixes SF bug #76: Tcl_FSGetNormalizedPath() can free pathPtr, destroying the already-referenced intrep. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d20b47392907012ed5dde2f11cb7dc60 |
User & Date: | aspect 2017-09-12 12:11:00.873 |
References
2017-09-12
| ||
12:37 | • New ticket [1fc5789903] patch from kitcreator: support native zlib. artifact: d544118ec0 user: aspect | |
Context
2017-09-16
| ||
12:30 | Enable optimizations for nmake builds check-in: 3983f57e78 user: ashok tags: trunk | |
2017-09-12
| ||
12:11 | Apply fixinternalrepuse.diff from rkeene's kitcreator. Fixes SF bug #76: Tcl_FSGetNormalizedPath() can free pathPtr, destroying the already-referenced intrep. check-in: d20b473929 user: aspect tags: trunk | |
2017-09-01
| ||
15:50 | Merged changed to nmake files check-in: 263097fa61 user: ashok tags: trunk | |
Changes
Changes to generic/vfs.c.
︙ | ︙ | |||
2001 2002 2003 2004 2005 2006 2007 | interp = nativeRep->fsCmd->interp; if (Tcl_InterpDeleted(interp)) { return NULL; } | < < < < > > > > > | 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | interp = nativeRep->fsCmd->interp; if (Tcl_InterpDeleted(interp)) { return NULL; } mountCmd = Tcl_DuplicateObj(nativeRep->fsCmd->mountCmd); Tcl_IncrRefCount(mountCmd); if (Tcl_ListObjLength(NULL, mountCmd, &dummyLen) == TCL_ERROR) { Tcl_DecrRefCount(mountCmd); return NULL; } splitPosition = nativeRep->splitPosition; normed = Tcl_FSGetNormalizedPath(NULL, pathPtr); normedString = Tcl_GetStringFromObj(normed, &len); Tcl_ListObjAppendElement(NULL, mountCmd, Tcl_NewStringObj(cmd,-1)); if (splitPosition == len) { Tcl_ListObjAppendElement(NULL, mountCmd, normed); Tcl_ListObjAppendElement(NULL, mountCmd, Tcl_NewStringObj("",0)); } else { Tcl_ListObjAppendElement(NULL, mountCmd, Tcl_NewStringObj(normedString,splitPosition)); |
︙ | ︙ |