diff options
author | stanton <stanton> | 1998-12-01 05:01:01 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-12-01 05:01:01 (GMT) |
commit | e93d75d3f9c3d8584f674270fde377c0b90cfd8f (patch) | |
tree | fe6eed551aa4e0b1510edb2cf71cb5bceee5911a /unix/tclUnixFCmd.c | |
parent | 159c2988058c79f38a3d820dbb5cea3f8b5abc34 (diff) | |
download | tcl-e93d75d3f9c3d8584f674270fde377c0b90cfd8f.zip tcl-e93d75d3f9c3d8584f674270fde377c0b90cfd8f.tar.gz tcl-e93d75d3f9c3d8584f674270fde377c0b90cfd8f.tar.bz2 |
* unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed hang that occurs
when trying to close a pipe that is currently being waited on by
the notifier thread. [Bug: 607]
* unix/tclUnixFCmd.c (GetPermissionsAttribute): Increase size of
returnString buffer to avoid overflow.
* generic/tclThreadTest.c (TclThreadSend): Fixed memory leak due
to use of TCL_VOLATILE instead of TCL_DYNAMIC.
* generic/tclThread.c (TclRememberSyncObject): Fixed memory leak
caused by failure to reuse condition variables.
* unix/tclUnixNotfy.c: (Tcl_AlertNotifier, Tcl_WaitForEvent,
NotifierThreadProc, Tcl_InitNotifier): Fixed race condition caused
by incorrect use of condition variables when sending messages
between threads.. [Bug: 607]
* generic/tclTestObj.c (TeststringobjCmd): MAX_STRINGS was off by one
so the strings array was too small.
* generic/tclCkalloc.c (Tcl_DbCkfree): Moved mutex lock so
ValidateMemory is done inside the mutex to avoid a race condition
when validate_memory is enabled. [Bug: 880]
Diffstat (limited to 'unix/tclUnixFCmd.c')
-rw-r--r-- | unix/tclUnixFCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index 3538328..1ece331 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixFCmd.c,v 1.1.2.3 1998/09/28 20:24:20 stanton Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.1.2.4 1998/12/01 05:01:03 stanton Exp $ * * Portions of this code were derived from NetBSD source code which has * the following copyright notice: @@ -1166,7 +1166,7 @@ GetPermissionsAttribute(interp, objIndex, fileName, attributePtrPtr) Tcl_Obj **attributePtrPtr; /* A pointer to return the object with. */ { struct stat statBuf; - char returnString[6]; + char returnString[7]; int result; result = TclStat(fileName, &statBuf); |