Skip to content
Tcl Source Code History Of Ticket 1551762
Login

History Of Ticket 1551762

Artifacts Associated With Ticket 1551762

  1. Ticket change [30e9738f0e] (rid 93335) by nobody on 2006-09-04 05:17:19:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Cygwin Tcl 8.5a5:
      
       $ uname
       CYGWIN_NT-5.0
       $ tclsh.exe
       % puts $tcl_version
       8.5
       % expr 1234567890123*100000
       -1506787104
      
      After patch:
      
       tcl/unix$ ./tclsh.exe
       % puts $tcl_version
       8.5
       % expr 1234567890123*100000
       123456789012300000
      
      [email protected]
      
    4. foundin initialized to: "obsolete: 8.5a5"
    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: "nobody"
    10. subsystem initialized to: "48. Number Handling"
    11. title initialized to: "64 bit integer math on Cygwin broken"
    12. type initialized to: "Bug"
  2. Ticket change [a911c35f21] (rid 99095) by nobody on 2006-09-04 12:17:19:

    1. icomment:
      
      
      File Added - 191898: cygwin-tcl-8_5a5.patch.txt
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Add attachment "cygwin-tcl-8_5a5.patch.txt" [8c9d06f622] (rid 127770) by nobody on 2006-09-04 12:17:19.

  4. Ticket change [cfeca12052] (rid 113073) by nobody on 2006-09-04 23:03:29:

    1. icomment:
      Logged In: NO 
      
      tcl/unix/configure was used.
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  5. Ticket change [e724d667f7] (rid 104403) by dgp on 2006-09-05 03:27:45:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      The underlying issue in the
      patch is platform support
      for the Tcl_WideInt type.
      Passing to someone better
      suited to examine that.
      
      Would also be useful for
      someone to weigh in whether
      the tcl/unix/configure is
      the right one for Cygwin.
      tcl/win/configure may be
      more appropriate.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "52. Portability Support"
    6. username: "dgp"
  6. Ticket change [2e9e8b929b] (rid 92925) by nobody on 2006-09-10 05:27:26:

    1. icomment:
      Logged In: NO 
      
      tcl/win/configure is definitely not suitable for Cygwin Tcl;
      it produces a large number of failed tests. *Many* problems
      arise in Cygwin programs when Windows-isms are mixed with
      UNIX. A tcl/unix/configure build produces the best test
      results for Cygwin. When you go behind Cygwin's
      UNIX-emulation layer's back and modify Windows resources
      directly all manner of undefined things happen. If people
      want a pure-Windows Tcl, they should use MinGW instead.
      
      The only other change I would recommend for Cygwin is this:
      
      
      --- tcl/unix/tclUnixInit.c-orig 2006-09-09
      18:23:32.000000000 -0400
      +++ tcl/unix/tclUnixInit.c      2006-09-09
      18:23:52.000000000 -0400
      @@ -837,6 +837,8 @@
       
       #ifdef DJGPP
           Tcl_SetVar2(interp, "tcl_platform", "platform", "dos",
      TCL_GLOBAL_ONLY);
      +#elif defined(__CYGWIN__)
      +    Tcl_SetVar2(interp, "tcl_platform", "platform",
      "windows", TCL_GLOBAL_ONLY);
       #else
           Tcl_SetVar2(interp, "tcl_platform", "platform", "unix",
      TCL_GLOBAL_ONLY);
       #endif
      
      
      As it makes the SQLite regression test suite work correctly.
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  7. Ticket change [060a8c43b9] (rid 89149) by dkf on 2006-09-10 17:25:43:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      If Cygwin is built using the unix configure, at least one of
      TCL_WIDE_INT_TYPE and TCL_WIDE_INT_IS_LONG should be defined
      and the existing unix path through tcl.h's nest of #ifdefs
      should be taken. If Cygwin is failing to do this, it is a
      failure of the configure script and tcl.m4 should be updated
      to fix.
      
      If you're going to use the unix machinery to configure, you
      should do so *properly*!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [9c705c617e] (rid 96148) by nobody on 2006-09-11 08:11:39:

    1. icomment:
      Logged In: NO 
      
      Can someone please commit this patch as obvious?
      
      +#      elif defined(__CYGWIN__)
      +#         define TCL_LL_MODIFIER"ll"
      +#         define TCL_LL_MODIFIER_SIZE2
      
      Cygwin uses GCC and GNU libc, and long long is %lld, not %L.
      This is why it is broken.
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  9. Ticket change [f88364a432] (rid 91553) by nobody on 2007-01-18 08:50:34:

    1. icomment:
      Logged In: NO 
      
      Cygwin 64 bit math is broken in the latest Tcl source tree, as seen in the example above. The supplied patch fixes that problem. Please apply it. It certainly won't make Cygwin 64-bit math "more broken" than it already is.
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  10. Ticket change [6a56e5f79a] (rid 128132) by dkf on 2007-01-18 16:10:26:

    1. closedate changed to: "2007-01-18T09:10:26"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      The suggested patch is in error anyway. The correct fix *must* be applied to tcl.m4 (look at the SC_TCL_64BIT_FLAGS macro; when run under Cygwin, it must arrange for TCL_WIDE_INT_TYPE to be defined to "long long"). The hacking in tcl.h is *only* for platforms that *cannot* support the running of configure; cygwin is clearly not such a system.
      
      Failing that, report the exact contents of config.log from these Cygwin systems so that I can figure out why the existing code is failing to detect that "long long" is legal.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Postponed"
    7. status changed to: "Pending"
    8. username: "dkf"
  11. Ticket change [686c32d9fa] (rid 103066) by sf-robot on 2007-02-02 10:20:03:

    1. closedate changed to: "2007-02-02T03:20:03"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"