Skip to content
Tcl Source Code History Of Ticket 3102483fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3102483fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3102483fffffffffffffffffffffffffffffffff

  1. Ticket change [9a2ebb8141] (rid 110909) by obermeier on 2010-11-03 21:37:23:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Active Tcl 8.5.8 returns the following information on my Windows7 64-bit system:
      
      % info pa
      8.5.8
      % parray tcl_platform
      tcl_platform(byteOrder)   = littleEndian
      tcl_platform(machine)     = intel
      tcl_platform(os)          = Windows NT
      tcl_platform(osVersion)   = 6.1
      tcl_platform(platform)    = windows
      tcl_platform(pointerSize) = 4
      tcl_platform(threaded)    = 1
      tcl_platform(user)        = paul
      tcl_platform(wordSize)    = 4
      
      The info in doubt is tcl_platform(machine).
      It seems, that the function GetSystemInfo as used in TclpSetVariables
      (file tclWinInit.c) does not work as expected.
      
      If using function GetNativeSystemInfo instead (as described in 
      http://msdn.microsoft.com/en-us/library/ms724429%28v=VS.85%29.aspx)
      I get the following output, which seems more reasonable:
      
      % info pa
      8.5.8
      % parray tcl_platform
      tcl_platform(byteOrder)   = littleEndian
      tcl_platform(machine)     = amd64
      tcl_platform(os)          = Windows NT
      tcl_platform(osVersion)   = 6.1
      tcl_platform(platform)    = windows
      tcl_platform(pointerSize) = 4
      tcl_platform(user)        = paul
      tcl_platform(wordSize)    = 4
      
      Attached is the patched TclpSetVariables function.
      
      The problem described applies to all 8.5 and 8.6 versions.
      
    4. foundin initialized to: "obsolete: 8.5.9"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "obermeier"
    10. subsystem initialized to: "38. Init - Library - Autoload"
    11. title initialized to:
      Incorrect tcl_platform(machine) value on 64-bit Windows7
      
    12. type initialized to: "Bug"
  2. Add attachment "tclWinInit-Patched.c" [d1d30cb60d] (rid 113420) by obermeier on 2010-11-04 04:37:24.

  3. Ticket change [3edb765c2e] (rid 121345) by obermeier on 2010-11-04 04:37:24:

    1. icomment:
      
      
      File Added - 392155: tclWinInit-Patched.c
      
      
      
    2. login: "obermeier"
    3. mimetype: "text/plain"
    4. username: "obermeier"
  4. Ticket change [feb1fadfa7] (rid 108631) by hobbs on 2010-11-04 04:49:57:

    1. icomment:
      It is returning the correct information.  While your native system may be amd64 (64-bit), you are running the 32-bit ActiveTcl.  Download the 64-bit ActiveTcl for different results.  You should more importantly see pointerSize be 8 in 64-bit AT.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [d2c11f4fe7] (rid 113587) by hobbs on 2010-11-04 04:49:58:

    1. closedate changed to: "2010-11-03T21:49:58"
    2. closer changed to: "hobbs"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "hobbs"