From ec182fda6d0885ae2ff8cb248e20fbc6605754f5 Mon Sep 17 00:00:00 2001 From: vasiljevic Date: Mon, 12 May 2003 08:41:15 +0000 Subject: Corrected the Tcl bug #723502 --- unix/tclUnixThrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index ebfd322..d5f1e54 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -819,7 +819,7 @@ TclpReaddir(DIR * dir) # endif /* HAVE_STRUCT_DIRENT64 */ if (ent != NULL) { memcpy((VOID *) &tsdPtr->rdbuf.ent, (VOID *) ent, - sizeof(&tsdPtr->rdbuf)); + sizeof(tsdPtr->rdbuf)); ent = &tsdPtr->rdbuf.ent; } Tcl_MutexUnlock(&rdMutex); -- cgit v0.12