Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 75db0d426910fca762df44c40e33cddb28ec2fbd
Ticket: 2806622fffffffffffffffffffffffffffffffff
$tcl_platform(user) has garbage in sometimes on Win32
User & Date: patthoyts on 2009-06-30 21:29:34
Changes

  1. icomment:
    You might try the attached patch. In general the Tcl code is compiled as narrow (TCHAR == char) and it switches the win32 api functions at runtime using the tclWinProcs global. So GetUserName should have been indirectly accessed using this.
    This patch seems to work for me and I tried forcing a cyrillic name through it and that was ok too.
    
    
  2. login: "patthoyts"
  3. mimetype: "text/plain"
  4. username: "patthoyts"