diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinInit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index 44c2e37..9f6d50f 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclWinInit.c,v 1.54 2004/06/17 21:33:43 dgp Exp $ + * RCS: @(#) $Id: tclWinInit.c,v 1.55 2004/06/17 21:43:56 dgp Exp $ */ #include "tclWinInt.h" @@ -210,7 +210,10 @@ GetDefaultLibraryDir() } if (NULL == defaultLibraryDir) { -Tcl_Panic("Called GetDLD before SetDLD!"); + /* + * Careful here. This may be bogus, calling TclpInitLibraryPath + * when not in TclpInitLock. OTOH, this branch shouldn't happen. + */ TclpInitLibraryPath(NULL); if (NULL != *savedDirectoryPtr) { return *savedDirectoryPtr; |