Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6f8d56e8c0f3e91c71b7fcef306731ce1ca14bfd48e787524347a67ba16cbd2c
Ticket: 7a9dc52b29a879858bc1d916d9bb7e182b3bfc0e
tclsh crashes with tilde chars in filenames
User & Date: sebres on 2018-11-20 18:15:23
Changes

  1. icomment:
    Segfault is fixed in [10e9bd8b12], but...  working on the test-cases should cover that, I found strange behavior:
    <code><pre>% file normalize ~/~foo
    ~foo
    % file normalize ~/bar/~foo
    /home/sebres/bar/~foo
    </pre></code>
    I think the first is invalid, it should be similar to:
    <code><pre>% file normalize ~/foo
    /home/sebres/foo
    </pre></code>
    The same doing *nix platforms, e. g. `<code>cd ~/foo</code>` as well as `<code>cd ~/~foo</code>` just append second path-segment to current user home.
    
    I'm trying to find a proper solution here (and will provide then the covering test-cases).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"
  4. resolution changed to: "Fixed"