Overview
| Artifact ID: | fe55a748a63384e8d818d0f08f3769624413b03d |
|---|---|
| Ticket: | 545579ffffffffffffffffffffffffffffffffff
cleanup after load from VFS |
| User & Date: | vincentdarley on 2002-05-21 19:58:39 |
Changes
- icomment:
Logged In: YES user_id=32170 If you can delete the file immediately on Unix, you could try adding before this block of code: /* * When we unload this file, we need to divert the * unloading so we can unload and cleanup the * temporary file correctly. */ tvdlPtr = (FsDivertLoad*) ckalloc(sizeof (FsDivertLoad)); in tclIOUtil.c (around line 2516), the following: /* Try to delete the file immediately */ if (Tcl_FSDeleteFile(copyToPtr) == TCL_OK) { Tcl_DecrRefCount(copyToPtr); (*clientDataPtr) = NULL; (*unloadProcPtr) = NULL; return retVal; } for the problems on Windows, I suggest you put a breakpoint in FSUnloadTempFile and describe what goes wrong --- why the file isn't deleted. - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"