Overview
| Artifact ID: | 0e71d8052ac0b03e5dd8b40f31705fd2613ee1bc |
|---|---|
| Ticket: | 573758ffffffffffffffffffffffffffffffffff
error stack report failure |
| User & Date: | dkf on 2002-06-26 22:16:51 |
Changes
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=79902 It seems there are a number of paths through the FS code that can end up bailing out without generating the correct error code; the problem comes because of missing Tcl_SetErrno(ENOENT); from Tcl_FSOpenFileChannel(), Tcl_FSUtime(), Tcl_FSFileAttrStrings(), Tcl_FSFileAttrsGet(), Tcl_FSFileAttrsSet(), Tcl_FSDeleteFile(), Tcl_FSCreateDirectory(), Tcl_FSRemoveDirectory(), *probably* Tcl_FSLoadFile() and Tcl_FSLink(), and *possibly* Tcl_FSMatchInDirectory() and Tcl_FSGetCwd() (though the logic for them is a bit more complex than I can hack through in a few minutes without deep prior knowledge.) Tcl_FSOpenFileChannel() is the definite culprit when it comes to this bug; please add a test as well. (Bumped the priority, as this is such an unhelpful error message!)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"