OSDN Git Service

* win/tclWinFile.c (TclMatchFiles): Revert Mon Jun 5 18:48:32 2000 Christopher
authorcgf <cgf>
Sun, 11 Jun 2000 02:45:14 +0000 (02:45 +0000)
committercgf <cgf>
Sun, 11 Jun 2000 02:45:14 +0000 (02:45 +0000)
Faylor <cgf@cygnus.com>.  Fails on Windows 95.

tcl/ChangeLog
tcl/win/tclWinFile.c

index 7e66b96..55440a1 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jun 10 22:43:00 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * win/tclWinFile.c (TclMatchFiles): Revert Mon Jun 5 18:48:32 2000
+       Christopher Faylor <cgf@cygnus.com>.  Fails on Windows 95.
+
 Tue Jun  6 22:09:02 2000  Christopher Faylor <cgf@cygnus.com>
 
        * win/Makefile.in: Set up and use autoconf variables throughout to
index 7a285ea..b0d9b9f 100644 (file)
@@ -130,13 +130,11 @@ TclMatchFiles(interp, separators, dirPtr, pattern, tail)
        Tcl_DStringAppend(&buffer, Tcl_DStringValue(dirPtr),
                Tcl_DStringLength(dirPtr));
     }
-#ifndef __CYGWIN__
     for (p = Tcl_DStringValue(&buffer); *p != '\0'; p++) {
        if (*p == '/') {
            *p = '\\';
        }
     }
-#endif
     p--;
     if (*p != '\\' && *p != ':') {
        Tcl_DStringAppend(&buffer, "\\", 1);