Artifacts Associated With Ticket 883825ffffffffffffffffffffffffffffffffff
Ticket change [4fafbe2221] (rid 125868) by eriklns on 2004-01-24 21:13:14:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Observed ======== The docs to [file system] say: `Returns a list of two elements, ...' However, on Linux (a reiserfs in my case), I get: % file system . native % llength [file system .] 1 % set tcl_patchLevel 8.4.5 Furthermore, from the same command in the manual page, it is unclear to me, what is meant by: `... If a filesystem only supports one type of file, the second element may be null. ...' What exactly is a "null element" in Tcl anyway? Expected ======== 1. Docs and command behaviour should be in sync with respect to the return value. 2. The term "null element" should be explained or replaced by a more unambiguous term. Sincerely, Erik Leunissen
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "eriklns"
- subsystem initialized to: "None"
- title initialized to: "[file system] does not return a 2 element list"
- type initialized to: "Bug"
Ticket change [408f0106ca] (rid 121644) by vincentdarley on 2004-01-26 20:30:58:
- closedate changed to: "2004-01-26T13:30:58"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Thanks for the report. This has now been fixed in cvs: Returns a list of one or two elements, the first of which is the name of the filesystem to use for the file, and the second, if given, an arbitrary string representing the filesystem-specific nature or type of the location within that filesystem. If a filesystem only supports one type of file, the second element may not be supplied. For example the native files have a first element 'native', and a second element which when given is a platform-specific type name for the file's system (e.g. 'NTFS', 'FAT', on Windows). A generic virtual file system might return the list 'vfs ftp' to represent a file on a remote ftp site mounted as a virtual filesystem through an extension called 'vfs'. If the file does not belong to any filesystem, an error is generated.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"