summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-11 22:08:59 (GMT)
committerhobbs <hobbs>2000-01-11 22:08:59 (GMT)
commitdba4ade20672f9434ee5f1c871cc0e3454dc6fd0 (patch)
treee0ed0df0d95c75b6ebbf3e1d7269c0165c1e8d48 /generic/tclFileName.c
parent40c309568a00ef2f5cd2db5618f02f075d9cda5b (diff)
downloadtcl-dba4ade20672f9434ee5f1c871cc0e3454dc6fd0.zip
tcl-dba4ade20672f9434ee5f1c871cc0e3454dc6fd0.tar.gz
tcl-dba4ade20672f9434ee5f1c871cc0e3454dc6fd0.tar.bz2
* generic/tclUtf.c: changed Tcl_UtfBackslash to not allow
non-octal digits (8,9) in \ooo substs. [Bug: 3975] * generic/tcl.h: noted need to change win/tcl.m4 and tools/tclSplash.bmp for minor version changes
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index cee1901..19920cd 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclFileName.c,v 1.7 1999/12/12 22:46:42 hobbs Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.8 2000/01/11 22:08:59 hobbs Exp $
*/
#include "tclInt.h"
@@ -1652,9 +1652,9 @@ TclGlob(interp, pattern, unquotedPrefix, globFlags, types)
* the user name anymore (Vince Darley, June 1999), since the
* new code is designed to handle special chars.
*/
- #ifndef NOT_NEEDED_ANYMORE
+#ifndef NOT_NEEDED_ANYMORE
head = DoTildeSubst(interp, start+1, &buffer);
- #else
+#else
if (strpbrk(start+1, "\\[]*?{}") == NULL) {
head = DoTildeSubst(interp, start+1, &buffer);
@@ -1666,7 +1666,7 @@ TclGlob(interp, pattern, unquotedPrefix, globFlags, types)
}
head = NULL;
}
- #endif
+#endif
*tail = c;
if (head == NULL) {
if (globFlags & GLOBMODE_NO_COMPLAIN) {