fix
authorVince Darley <vincentdarley@sourceforge.net>
Fri, 7 Sep 2001 08:16:22 +0000 (08:16 +0000)
committerVince Darley <vincentdarley@sourceforge.net>
Fri, 7 Sep 2001 08:16:22 +0000 (08:16 +0000)
generic/vfs.c

index 4df5ac3f89e4ca3d18924e2a5b0ee259432d98fa..a5beb0f7803240fb0d9b8a2ddd08720116994b26 100644 (file)
@@ -705,7 +705,7 @@ VfsOpenFileChannel(cmdInterp, pathPtr, modeString, permissions)
            chan = Tcl_GetChannel(interp, Tcl_GetString(element), 0);
            
            if (chan == NULL) {
-               returnVal == TCL_ERROR;
+               returnVal = TCL_ERROR;
            } else {
                if (reslen == 2) {
                    Tcl_ListObjIndex(interp, resultObj, 1, &element);