diff options
author | stanton <stanton> | 1998-10-06 00:42:17 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-10-06 00:42:17 (GMT) |
commit | 6c3b9fbc8dd3d4b1e53d0ceb7ba77ce239b43b28 (patch) | |
tree | a77c4cfff03407ef2387211effdc223a8bde8ca7 | |
parent | 78bed4fed5a512990c9cac1df7c0fc5c7d8cf669 (diff) | |
download | tcl-6c3b9fbc8dd3d4b1e53d0ceb7ba77ce239b43b28.zip tcl-6c3b9fbc8dd3d4b1e53d0ceb7ba77ce239b43b28.tar.gz tcl-6c3b9fbc8dd3d4b1e53d0ceb7ba77ce239b43b28.tar.bz2 |
* tclWinFile.c: added warning about modifying static strings
* makefile.vc: fixed version strings, added missing debug defines
-rw-r--r-- | win/makefile.vc | 15 | ||||
-rw-r--r-- | win/tclWinFile.c | 5 |
2 files changed, 11 insertions, 9 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 44a968c..58e21cb 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -4,7 +4,7 @@ # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # Copyright (c) 1995-1996 Sun Microsystems, Inc. -# RCS: @(#) $Id: makefile.vc,v 1.1.2.3 1998/09/30 20:50:30 stanton Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.1.2.4 1998/10/06 00:42:17 stanton Exp $ # Does not depend on the presence of any environment variables in # order to compile tcl; all needed information is derived from @@ -44,9 +44,6 @@ INSTALLDIR = c:\progra~1\Tcl # Set this to the appropriate value of /MACHINE: for your platform MACHINE = IX86 -# Uncomment the following line to compile with debugging symbols: -#DEBUG=1 - # Uncomment the following line to compile with thread support #THREADDEFINES = -DTCL_THREADS=1 @@ -59,16 +56,18 @@ NODEBUG = 1 # TCL_MEM_DEBUG - enable the debugging memory allocator # TCL_COMPILE_DEBUG - enable the debugging bytecode compiler # TCL_COMPILE_STATS - enable statistics gathering in the bytecode compiler -# +# USE_TCLALLLOC=0 - disable the Tcl memory allocator so Purify will work + #DEBUGDEFINES = -DTCL_MEM_DEBUG -DTCL_COMPILE_DEBUG -DTCL_COMPILE_STATS +#DEBUGDEFINES = -DUSE_TCLALLOC=0 -DTCL_COMPILE_DEBUG ###################################################################### # Do not modify below this line ###################################################################### NAMEPREFIX = tcl -DOTVERSION = 8.0 -VERSION = 80 +DOTVERSION = 8.1 +VERSION = 81 BINROOT = . !IF "$(NODEBUG)" == "1" @@ -214,6 +213,8 @@ DLL16_CFLAGS = $(cdebug) $(cflags) $(include16) -ALw !IF "$(NODEBUG)" == "1" ldebug = /RELEASE +!ELSE +ldebug = -debug:full -debugtype:cv !ENDIF # declarations common to all linker options diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 99a20c7..c0f655d 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinFile.c,v 1.1.2.2 1998/09/24 23:59:51 stanton Exp $ + * RCS: @(#) $Id: tclWinFile.c,v 1.1.2.3 1998/10/06 00:42:17 stanton Exp $ */ #include "tclWinInt.h" @@ -108,7 +108,8 @@ TclpMatchFiles(interp, separators, dirPtr, pattern, tail) Tcl_DString *dirPtr; /* Contains path to directory to search. */ char *pattern; /* Pattern to match against. */ char *tail; /* Pointer to end of pattern. Tail must - * point to a location in pattern. */ + * point to a location in pattern. Must not + * point to a static string. */ { char drivePat[] = "?:\\"; const char *message; |