summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-10-06 00:42:17 (GMT)
committerstanton <stanton>1998-10-06 00:42:17 (GMT)
commit6c3b9fbc8dd3d4b1e53d0ceb7ba77ce239b43b28 (patch)
treea77c4cfff03407ef2387211effdc223a8bde8ca7 /win/tclWinFile.c
parent78bed4fed5a512990c9cac1df7c0fc5c7d8cf669 (diff)
downloadtcl-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
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c5
1 files changed, 3 insertions, 2 deletions
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;