Skip to content
Tcl Source Code History Of Ticket 217962ffffffffff
Login

History Of Ticket 217962ffffffffff

Artifacts Associated With Ticket 217962ffffffffff

  1. Ticket change [ed490dccc4] (rid 103851) by nobody on 2000-10-26 00:46:52:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4236 Bug
      Version: 8.3
      SubmitDate: '2000-02-23'
      LastModified: '2000-05-10'
      Severity: MED
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 3345 4280 5422
      OS: All Unix
      FixedDate: '2000-10-25'
      ClosedDate: '2000-05-10'
      
      
      Name:
      
      Jan Nijtmans
      
      
      ReproducibleScript:
      
      This patch is supplied by m. hirano as part of his XIM fixes. Explanation is in the patch itself, I left it unchanged.
      
      
      Patch:
      
      *** tclUnixInit.c.origWed Oct 13 02:32:49 1999
      
      --- tclUnixInit.cWed Feb 23 20:01:41 2000
      
      ***************
      
      *** 411,417 ****
      
        }
      
            }
      
            if (*p != '\0') {
      
      - Tcl_DString ds;
      
        Tcl_DStringInit(&ds);
      
        Tcl_DStringAppend(&ds, p, -1);
      
      
      --- 411,416 ----
      
      ***************
      
      *** 433,450 ****
      
            Tcl_SetSystemEncoding(NULL, encoding);
      
      
            /*
      
      !      * Initialize the C library's locale subsystem.  This is required
      
      !      * for input methods to work properly on X11. Note that we need to
      
      !      * retore the initial "C" locale so that Tcl can parse numbers
      
      !      * properly.  The side effect of setting the default locale should be to
      
      !      * load any locale specific modules that are needed by X.
      
             */
      
      -  
      
      -     Tcl_DStringInit(&ds);
      
      -     Tcl_DStringAppend(&ds, setlocale(LC_ALL, NULL), -1);
      
      -     setlocale(LC_ALL, "");
      
      -     setlocale(LC_ALL, Tcl_DStringValue(&ds));
      
      -     Tcl_DStringFree(&ds);
      
      
            /*
      
             * In case the initial locale is not "C", ensure that the numeric
      
      --- 432,451 ----
      
            Tcl_SetSystemEncoding(NULL, encoding);
      
      
            /*
      
      !      * Hey, Belows are helpful for X11 XIM, NOT!!!!
      
      !      * If setlocale(LC_ALL, "") are once called, NOT reset to "C"
      
      !      * BECAUSE OF X11 uses locale sensitive libc routines such as:
      
      !      *mblen()
      
      !      *mbstowcs()
      
      !      *wcstombs()
      
      !      * Calling setlocale() with proper locale is of course needed,
      
      !      * futhermore, keeping the proper locale setting is ALSO needed
      
      !      * for proper XIM operation. If not, in the worst case, Tk dumps
      
      !      * core.
      
      !      *
      
      !      * So Scott, Don't call setlocale() here.
      
      !      *m-hirano
      
             */
      
      
            /*
      
             * In case the initial locale is not "C", ensure that the numeric
      
      
      PatchFiles:
      
      tclUnixInit.c
      
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "57. zlib"
    10. title initialized to: "XIM fixes for Tcl"
    11. type initialized to: "Bug"
  2. Ticket change [d79c9bf9fc] (rid 124020) by welch on 2000-10-26 08:10:56:

    1. closedate changed to: "2000-10-26T01:10:56"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [d8d375cb6f] (rid 107513) by dgp on 2001-04-06 03:36:14:

    1. closedate changed to: "2001-04-05T20:36:14"
    2. closer changed to: "dgp"
    3. subsystem changed to: "38. Init - Library - Autoload"