Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 954a88bc41596cd826cb261e54431d5c76e5edff
Ticket: 1175161fffffffffffffffffffffffffffffffff
compat bugs: strstr.c, strtod.c
User & Date: nobody on 2005-04-02 20:57:25
Changes

  1. icomment:
    Logged In: NO 
    
    This is the patch that fixes this bug. 
    ======================================
    diff -ru tcl8.4.9/compat/strstr.c tcl8.4.9-1/compat/strstr.c
    --- tcl8.4.9/compat/strstr.c2002-01-26 01:10:08.000000000 +0000
    +++ tcl8.4.9-1/compat/strstr.c2005-04-02 09:16:06.000000000
    +0000
    @@ -33,6 +33,8 @@
     
    *----------------------------------------------------------------------
      */
     
    +#define NULL 0
    +
     char *
     strstr(string, substring)
         register char *string;/* String to search. */
    diff -ru tcl8.4.9/compat/strtod.c tcl8.4.9-1/compat/strtod.c
    --- tcl8.4.9/compat/strtod.c2002-02-25 14:26:12.000000000 +0000
    +++ tcl8.4.9-1/compat/strtod.c2005-04-02 09:16:52.000000000
    +0000
    @@ -24,6 +24,8 @@
     #define NULL 0
     #endif
     
    +#undef strtod
    +
     static int maxExponent = 511;/* Largest possible base 10
    exponent.  Any
      * exponent larger than this will already
      * produce underflow or overflow, so there's
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"