Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 91aae32680c5c863d162e3f141ec7b60fbfe8903
Ticket: 2974459fffffffffffffffffffffffffffffffff
file readable reports Windows off-line files as unreadable
User & Date: mikehedge on 2010-03-22 10:14:55
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The file readable command correctly reports files on Windows (XP Professional 2002/SP2) mapped drives as readable when reading is possible:
    
    % file exists r:\mydirectory\test.txt
    1
    % file readable r:\mydirectory\test.txt
    1
    % set chid [open r:\mydirectory\test.txt]
    filef0ca80
    % set contents [read $chid]
    record 1 of 2 of test file test.txt
    record 2 of 2 of test file test.txt
    % close $chid
    
    
    However, if the file is now made off-line, effectively making a local copy, and the connection to the mapped drive removed, the (local) file still exists and is readable but file readable reports it is not (0):
    
    % file exists r:\mydirectory\test.txt
    1
    % file readable r:\mydirectory\test.txt
    0<-- incorrect response
    % set chid [open r:\mydirectory\test.txt]
    fileefd600
    % set contents [read $chid]
    record 1 of 2 of test file test.txt
    record 2 of 2 of test file test.txt
    % close $chid
    
    
  4. foundin changed to: "obsolete: 8.5.8"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mikehedge"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to:
    file readable reports Windows off-line files as unreadable
    
  12. type changed to: "Bug"