diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-27 15:12:46 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-27 15:12:46 (GMT) |
| commit | 516f8e365dd94bfc9af0fb2d86516cae5bb2ec7f (patch) | |
| tree | 075b660838b4ff0522500206911bd6eb7ee82203 /generic/tclFileName.c | |
| parent | ac80e53da8b4df7cf01f986e395f8284f9357744 (diff) | |
| download | tcl-516f8e365dd94bfc9af0fb2d86516cae5bb2ec7f.zip tcl-516f8e365dd94bfc9af0fb2d86516cae5bb2ec7f.tar.gz tcl-516f8e365dd94bfc9af0fb2d86516cae5bb2ec7f.tar.bz2 | |
Experimental support for UNC paths (through VFS) on UNIX/Mac
Diffstat (limited to 'generic/tclFileName.c')
| -rw-r--r-- | generic/tclFileName.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 48c5454..3e78a05 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -424,14 +424,12 @@ TclpGetNativePathType( } #endif if (path[0] == '/') { -#ifdef __CYGWIN__ /* - * Check for Cygwin // network path prefix + * Check for "//" prefix */ if (path[1] == '/') { path++; } -#endif if (driveNameLengthPtr != NULL) { /* * We need this addition in case the QNX or Cygwin code was used. @@ -665,15 +663,13 @@ SplitUnixPath( if (*p == '/') { Tcl_Obj *rootElt = Tcl_NewStringObj("/", 1); p++; -#ifdef __CYGWIN__ /* - * Check for Cygwin // network path prefix + * Check for "//" prefix */ if (*p == '/') { Tcl_AppendToObj(rootElt, "/", 1); p++; } -#endif Tcl_ListObjAppendElement(NULL, result, rootElt); } |
