Overview
| Artifact ID: | 0a96446d5e1da646baf00ad7f4a90c8cc41726c2 |
|---|---|
| Ticket: | 408840ffffffffffffffffffffffffffffffffff
Patch for TIP 17 |
| User & Date: | nobody on 2001-05-01 17:40:08 |
Changes
- icomment:
Logged In: NO I have a couple more comments: (i) It may be a good idea to re-order the entries in the Tcl_Filesystem structure according to a perhaps more logical arrangement (or an arrangement in which the entries which are least likely to be implemented are at the end). I am NOT going to do this myself, since I'm so ingrained in the code it's not easy for me to think objectively about the different items. However if someone else wants to take a look, please do (the order in tcl.h will only impact tclIOUtil.c and tclTest.c). (ii) I don't know that any non-native FS is really going to implement 'Tcl_FSLoadFile' as anything other than 'copy-to- temp and reload' (and this means they should also implement Tcl_FSUnloadFile to unload and cleanup the temp). Now, this is quite similar to the way in which when Tcl sees an EXDEV ("unimplemented") posix error message it falls back from 'file copy' to open-r/open-w/fcopy/file-mtime. We could therefore make Tcl fallback from load to a core implementation of copy-to-temp/reload with appropriate cleanup. For the moment I'm simply raising this issue here so it is documented, but in the future we may want to add that to Tcl. cheers, Vince. - login: "nobody"
- mimetype: "text/plain"
- username: "nobody"