Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d6f09fe3422f9f92ed24912a4ca0dcc5f6c8d55e
Ticket: 1311285fffffffffffffffffffffffffffffffff
winFile.test fails with if hostname contains hyphens
User & Date: wliao on 2005-10-02 23:27:11
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In the winFile.test for tcl, test winFile-4.0 (Enhanced
    NTFS user/group permissions: test no acccess) uses
    [getuser] to find to find the ownership of a file (set
    owner [getuser $fname]). [getuser] will fail if the
    hostname contains dashes, and potentially other legal
    characters
    
    Around line 115, [getuser] uses this [regexp] to find
    the user
    
        regexp { [A-Z]+\\.*$} $attrs owner
    
    A hyphen is a legal character on Windows XP, so the
    [regexp] fails if the owner is something like
    "SOCKET-ERROR\wl".
    
    I changed the RE being to
    
      regexp { [^ \\]+\\.*$} $attrs owner
    
    which works for me.
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "wliao"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    winFile.test fails with if hostname contains hyphens
    
  11. type changed to: "Bug"