Overview
| Artifact ID: | d2b96ef5dfaaf188226d5e4623a562b2f9591f8d |
|---|---|
| Ticket: | 408840ffffffffffffffffffffffffffffffffff
Patch for TIP 17 |
| User & Date: | dgp on 2001-05-01 00:22:21 |
Changes
- icomment:
File Added - 5862: tip17c.patch.gz Logged In: YES user_id=80530 Uploading an updated patch with these changes: 1) The CONST is removed from Tcl_JoinPath() and Tcl_PathType() and any CONST-poison removed. 2) Line 2594 of generic/tclIOUtil.c used an initialization not supported by all compilers. Changed to something more portable. 3) Several new functions were defined with only ANSI prototypes. Changed those to match the rest of the Tcl code to support pre-ANSI compilers. 4) Regenned the patch against HEAD as a unified diff (easier to review) and using Unix line endings. Remaining issues: 1) [tcl::CopyDirectory] is called from CopyRenameOneFile() in generic/tclFCmd.c, but [tcl::CopyDirectory] will not be available in a safe interp. Will CopyRenameOneFile() ever be called on a safe interp? 2) All the issues of naming conventions and public stubs vs. private stubs need to be settled. My preference: make the Tcl_ things public. Also I'd like the typedefs, etc. around the FileSystem types to follow conventions more like those of the Tcl_ChannelType. 3) Several private stub entries are removed by this patch. That's OK, but do we know of any affected extensions? 4) As mentioned before, I think many of the functions in generic/tclIOUtil.c could be static now. 5) In several places, lines exceed 80 columns. I'm not sure if that's an official part of our style guide, but I would like them 80 columns or less. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"