Artifacts Associated With Ticket 720634ffffffffff
Ticket change [122981cd29] (rid 95265) by pcmacdon on 2003-04-13 14:01:38:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The manpage for Tcl_FSPathInFilesystemProc says to return TCL_ERROR for path not belonging to vfs. When in fact the code expects -1. See below. ************************************************************** MANPAGE - PATHINFILESYSTEMPROC The pathInFilesystemProc field contains the address of a function which is called to determine whether a given path object belongs to this filesystem or not. Tcl will only call the rest of the filesystem functions with a path for which this function has returned TCL_OK. If the path does not belong, TCL_ERROR should be returned. ************************************************************* CODE - TclIOUtil.c (4875) /* * Call each of the "pathInFilesystem" functions in succession. A * non-return value of -1 indicates the particular function has * succeeded. */ while ((retVal == NULL) && (fsRecPtr != NULL)) { Tcl_FSPathInFilesystemProc *proc = fsRecPtr->fsPtr->pathInFilesystemProc; if (proc != NULL) { ClientData clientData = NULL; int ret = (*proc)(pathObjPtr, &clientData); if (ret != -1) { - foundin initialized to: "obsolete: 8.4.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pcmacdon"
- subsystem initialized to: "None"
- title initialized to:
Tcl_FSPathInFilesystemProc return value man page mismatch
- type initialized to: "Bug"
Ticket change [d10eca302a] (rid 113288) by pcmacdon on 2003-04-13 22:53:01:
- icomment:
Logged In: YES user_id=190660 I think there are also some old modeString that should be mode references in man page as well.
- login: "pcmacdon"
- mimetype: "text/plain"
- username: "pcmacdon"
- icomment:
Ticket change [2015021fef] (rid 91254) by hobbs on 2003-05-11 07:04:54:
- assignee changed to: "vincentdarley"
Ticket change [74b5d76abe] (rid 105253) by vincentdarley on 2003-06-23 17:49:01:
- closedate changed to: "2003-06-23T10:49:01"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Fixed. The modeString bit is ok, I think.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"