Overview
| Artifact ID: | 05570445f124d7b934fac014dc5a134fa8a806a1 |
|---|---|
| Ticket: | 1020538fffffffffffffffffffffffffffffffff
Problem in file copy |
| User & Date: | dkf on 2004-09-03 15:47:44 |
Changes
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=79902 Yuck. The problem is that the call to Tcl_FSFileAttrsSet() in CopyRenameOneFile() (in tclFCmd.c) passes in a NULL interp, but an error happened and we're trying to store the error message in a variable looked up from that NULL... Suggested fix: make SetPermissionsAttribute() in tclUnixFCmd.c only report an error when interp is non-NULL. For safety, we need to protect all three points that can generate error messages, probably with: if (interp != NULL) { Tcl_AppendResult(...); } Do you concur with my analysis, Vince? I'm assigning back to you because 'cvs annotate' says you've poked around in relevant areas in both files... - login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "24. Channel Commands"
- username: "dkf"