Tcl Source Code

Check-in [9379eb7e44]
Login

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

Overview
Comment:3554250 Overlooked one field of cleanup in the thread exit handler for the filesystem subsystem.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9379eb7e445a9dbe778f625d70106bb19d8857a4
User & Date: dgp 2012-08-07 15:27:36
Context
2012-08-07
20:57
Minor changes to improve style (C89 declarations, consistent indentation, clarification of #endifs, ... check-in: 3995dbcf90 user: dkf tags: trunk
15:27
3554250 Overlooked one field of cleanup in the thread exit handler for the filesystem subsystem. check-in: 9379eb7e44 user: dgp tags: trunk
15:23
3554250 Overlooked one field of cleanup in the thread exit handler for the filesystem subsystem. check-in: ab38ae2fd5 user: dgp tags: core-8-5-branch
14:58
add 3 testcases for "dde poke", only active with --enable-symbols (we need a "dde poke" server for t... check-in: 2cc13853c7 user: jan.nijtmans tags: trunk
06:46
Installer improvements, like [226a993973]. check-in: 238d0cb630 user: stwo tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.






1
2
3
4
5
6
7





2012-07-31  Donal K. Fellows  <[email protected]>

	* generic/tclInterp.c (Tcl_GetInterpPath):
	* unix/tclUnixPipe.c (TclGetAndDetachPids, Tcl_PidObjCmd):
	* win/tclWinPipe.c (TclGetAndDetachPids, Tcl_PidObjCmd):
	Purge use of Tcl_AppendElement, and corrected conversion of PIDs to
	integer objects.
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2012-08-07  Don Porter  <[email protected]>

	* generic/tclIOUtil.c:	[Bug 3554250] Overlooked one field of
	cleanup in the thread exit handler for the filesystem subsystem.

2012-07-31  Donal K. Fellows  <[email protected]>

	* generic/tclInterp.c (Tcl_GetInterpPath):
	* unix/tclUnixPipe.c (TclGetAndDetachPids, Tcl_PidObjCmd):
	* win/tclWinPipe.c (TclGetAndDetachPids, Tcl_PidObjCmd):
	Purge use of Tcl_AppendElement, and corrected conversion of PIDs to
	integer objects.

Changes to generic/tclIOUtil.c.

456
457
458
459
460
461
462

463
464
465
466
467
468
469
    fsRecPtr = tsdPtr->filesystemList;
    while (fsRecPtr != NULL) {
	tmpFsRecPtr = fsRecPtr->nextPtr;
	fsRecPtr->fsPtr = NULL;
	ckfree(fsRecPtr);
	fsRecPtr = tmpFsRecPtr;
    }

    tsdPtr->initialized = 0;
}

int
TclFSCwdIsNative(void)
{
    ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&fsDataKey);







>







456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
    fsRecPtr = tsdPtr->filesystemList;
    while (fsRecPtr != NULL) {
	tmpFsRecPtr = fsRecPtr->nextPtr;
	fsRecPtr->fsPtr = NULL;
	ckfree(fsRecPtr);
	fsRecPtr = tmpFsRecPtr;
    }
    tsdPtr->filesystemList = NULL;
    tsdPtr->initialized = 0;
}

int
TclFSCwdIsNative(void)
{
    ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&fsDataKey);