Overview
| Artifact ID: | 1c01ed2cfe46d3124729d1b11025f1f46526a9e0 |
|---|---|
| Ticket: | 566669ffffffffffffffffffffffffffffffffff
[fix] file dirname ~ |
| User & Date: | taguchiv6 on 2002-06-11 08:12:07 |
Changes
- icomment:
File Added - 24847: tcl-patch-ac Logged In: YES user_id=357728 Here is a test sequence: 1. Original version: %puts $env(HOME) /root % puts [pwd] /usr/local/src/tcl-current/tcl/unix % file dirname ~ /usr/local/src/tcl-current/tcl/unix I think this return value is unexpected one. 2. Patched version: %puts $env(HOME) /root % puts [pwd] /usr/local/src/tcl-current/tcl/unix % file dirname ~ / I think it work fine. And thanks Vince. I cannot find out variable "pathLen" ;-) So I used strlen(3). But I think using "pathLen" is more excelent. Here is a new patch for tclUnixFCmd.c, v1.21 2002/04/07. Please commit it. Thanks.
- login: "taguchiv6"
- mimetype: "text/plain"
- username: "taguchiv6"