Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cc67adfe50f69a4278b6be5f974fdef5565568bc
Ticket: 1823552fffffffffffffffffffffffffffffffff
[info hostname] encoding
User & Date: dgp on 2007-11-16 03:06:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: YES
    
    
    The branch that calls
    getComputerNameProc() is
    correct.  Since that will
    presumable always succeed, 
    the HEAD code won't reach
    the bug.
    
    The followup branch that
    calls gethostname() is
    the part that is broken.
    gethostname() empirically
    returns a string in the
    [encoding system], but the
    InitializeHostName() routine
    assumes the string is in utf-8.
    
    On the 8.4 branch, the
    gethostname() attempt
    comes before the
    getComputerNameProc()
    attempt, so the bug is
    easier to demo and more
    important to fix.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"