+2004-09-28 Vince Darley <vincentdarley@sourceforge.net>
+
+ * generic/vfs.c: despite lack of documentation on this point,
+ VfsMatchInDirectory should really allow a NULL interp, even in
+ error situations.
+
2005-03-18 Jeff Hobbs <jeffh@ActiveState.com>
* Makefile.in (AR): use @AR@
Tcl_ListObjAppendList(cmdInterp, returnPtr, vfsResultPtr);
Tcl_DecrRefCount(vfsResultPtr);
} else {
- Tcl_SetObjResult(cmdInterp, vfsResultPtr);
+ if (cmdInterp != NULL) {
+ Tcl_SetObjResult(cmdInterp, vfsResultPtr);
+ } else {
+ Tcl_DecrRefCount(vfsResultPtr);
+ }
}
}
return returnVal;