Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: bfae91d1f20be64c295cecd8977cb9d9cf90c894
Ticket: 3539231fffffffffffffffffffffffffffffffff
glob tilde expansion injects extra slash.
User & Date: dkf 2013-11-12 12:37:47
Changes

  1. closedate changed to: "2456609.02624157"
  2. closer changed to: "dkf"
  3. comment changed to:
    When a user account is created whose name has a dash in it, attempting to glob the account's home directory results in an extra slash appearing in the result path string:
    
    $ useradd -b /home/ -p dash -m dash-user
    $ tclsh
    % info patchlevel
    8.5.11
    % glob ~dash-user
    /home//dash-user
    
    Ubuntu 12.04 64-bit.  Tclsh installed from default repository using apt-get.
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. severity changed to: "Minor"
  7. status changed to: "Closed"