Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b843c9cb45c23d37ce65adfedcae833a7f776e0
Ticket: 962519ffffffffffffffffffffffffffffffffff
nativeFilesystemRecord comparisions invalid with threads
User & Date: dgp on 2004-05-28 23:47:02
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Two routines in tclIOUtil.c,
    FsListMounts() and
    TclFSNormalizeToUniquePath()
    do direct comparisons to the
    value &nativeFilesystemRecord.
    
    However, in a --enable-threads
    build of Tcl, those routines do not
    loop over a list containing that
    static record.  Instead they loop
    over a thread-specific copy of
    the original list.  Thus, these
    comparisions are either always
    true or always false when
    threads are enabled, destroying
    the logic intended.
    
    This bug will be automatically
    fixed if we stop using thread-specific
    copies of the filesystem records.
    That's also the best way to fix
    Bug 932314.
    
    Will develop a patch and submit
    when it is ready.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "37. File System"
  10. title changed to:
    nativeFilesystemRecord comparisions invalid with threads
    
  11. type changed to: "Bug"