Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9faeff1543852597ae163d4ebe47c48fb6c0ad5d
Ticket: 2531126fffffffffffffffffffffffffffffffff
[file copy] does not accurately copy timestamps (unix)
User & Date: danckaert on 2009-01-23 14:00:14
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl's [file copy] command also copies the timestamps of the original file. However, this is not accurately done for sub-second timestamps. Example (on Linux 2.6.9):
    
    % touch foo
    % stat foo
      File: `foo'
      Size: 0               Blocks: 8          IO Block: 4096   regular empty file
    Device: 307h/775d       Inode: 22429716    Links: 1
    Access: (0640/-rw-r-----)  Uid: (  111/    koen)   Gid: (  101/   staff)
    Access: 2009-01-23 14:57:04.725254147 +0100
    Modify: 2009-01-23 14:57:04.725254147 +0100
    Change: 2009-01-23 14:57:04.725254147 +0100
    % file copy foo bar
    % stat bar
      File: `bar'
      Size: 0               Blocks: 8          IO Block: 4096   regular empty file
    Device: 307h/775d       Inode: 22429717    Links: 1
    Access: (0640/-rw-r-----)  Uid: (  111/    koen)   Gid: (  101/   staff)
    Access: 2009-01-23 14:57:04.000000000 +0100
    Modify: 2009-01-23 14:57:04.000000000 +0100
    Change: 2009-01-23 14:57:08.635771542 +0100
    
    
  4. foundin changed to: "obsolete: 8.6b1"
  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: "danckaert"
  10. subsystem changed to: "37. File System"
  11. title changed to:
    [file copy] does not accurately copy timestamps (unix)
    
  12. type changed to: "Bug"