Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: defc10fc3a5ee77445256002d053177f95945533
Ticket: 566669ffffffffffffffffffffffffffffffffff
[fix] file dirname ~
User & Date: taguchiv6 on 2002-06-18 14:41:22
Changes

  1. icomment:
    
    
    File Added - 25299: tcl-file-normalize+dirname+tail-patch-20020618
    
    Logged In: YES 
    user_id=357728
    
    Here is a new patch-set.
    
    unix/tclUnixFCmd.c:
    "file dirname ~" will return correct value.
    
    generic/tclFileName.c:
    Special case. if env(HOME) == "~", then
    "file dirname ~" must return "~".
    
    generic/tclCmdAH.c:
    same case. if env(HOME) == "~", then
    "file tail ~" must return "".
    
    These behaviors are written in test code.
    
    I've tested them using "make test".
    I think these patch work fine.
    some tests for "file" command and filesystem
    will repare by this patch.
    
    Thanks.
    
    
    
  2. login: "taguchiv6"
  3. mimetype: "text/plain"
  4. username: "taguchiv6"