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

History Of Ticket 218698ffffffffff

Artifacts Associated With Ticket 218698ffffffffff

  1. Ticket change [9493efde2e] (rid 106012) by nobody on 2000-10-26 01:04:15:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1781 Bug
      Version: 8.1b3
      SubmitDate: '1999-04-12'
      LastModified: '1999-10-21'
      Severity: CRIT
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Other
      OSVersion: PPC Linux R4
      Machine: NA
      FixedDate: '1999-10-21'
      FixedInVersion: 8.2.2
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Kenji Sugita
      
      
      
      ReproducibleScript:
      
      The files tclResult.c and tclStringObj.c can't be compiled on PowerPC
      
          Linux.
      
          It copies a va_list data directly by an assignment. 
      
          That kind of copy is prohibited on a PowerPC platform.
      
      
      
      PatchFiles:
      
      Atached is an adhoc patch.
      
          
      
          ===================================================================
      
          RCS file: RCS/tclResult.c,v
      
          retrieving revision 1.1
      
          diff -u -r1.1 tclResult.c
      
          --- tclResult.c 1999/04/10 17:46:52     1.1
      
          +++ tclResult.c 1999/04/10 18:01:36
      
          @@ -475,7 +475,11 @@
      
                * Scan through all the arguments to see how much space is needed.
      
                */
      
           
      
          +#if defined(powerpc)
      
          +    __va_copy(tmpArgList, argList);
      
          +#else
      
               tmpArgList = argList;
      
          +#endif /* powerpc */
      
               newSpace = 0;
      
               while (1) {
      
                  string = va_arg(tmpArgList, char *);
      
          ===================================================================
      
          RCS file: RCS/tclStringObj.c,v
      
          retrieving revision 1.1
      
          diff -u -r1.1 tclStringObj.c
      
          --- tclStringObj.c      1999/04/10 17:47:13     1.1
      
          +++ tclStringObj.c      1999/04/10 18:02:35
      
          @@ -429,7 +429,11 @@
      
                * bytes would be appended, just return.
      
                */
      
           
      
          +#if defined(powerpc)
      
          +    __va_copy(tmpArgList, argList);
      
          +#else
      
               tmpArgList = argList;
      
          +#endif /* powerpc */
      
               newLength = oldLength = objPtr->length;
      
               while (1) {
      
                  string = va_arg(tmpArgList, char *);
      
      
      
      
      
      These were both fixed to be more portable for 8.3b1. 
      -- 10/21/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1b3"
    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: "69. Other"
    10. title initialized to: "Should not copy a va_list data directly"
    11. type initialized to: "Bug"
  2. Ticket change [2a955fd461] (rid 118603) by welch on 2000-10-26 08:27:11:

    1. closedate changed to: "2000-10-26T01:27:11"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"