Skip to content
Tcl Source Code History Of Ticket 883825ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 883825ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 883825ffffffffffffffffffffffffffffffffff

  1. Ticket change [4fafbe2221] (rid 125868) by eriklns on 2004-01-24 21:13:14:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "eriklns"
    9. subsystem initialized to: "None"
    10. title initialized to: "[file system] does not return a 2 element list"
    11. type initialized to: "Bug"
  2. Ticket change [408f0106ca] (rid 121644) by vincentdarley on 2004-01-26 20:30:58:

    1. closedate changed to: "2004-01-26T13:30:58"
    2. closer changed to: "vincentdarley"
    3. 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.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"