From 99fe4d8e2e7916cd7a6c4c361b6f6d4a92a41e53 Mon Sep 17 00:00:00 2001 From: vasiljevic Date: Mon, 12 May 2003 08:43:25 +0000 Subject: Corrected 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