Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7fefabc9d223a2eec3dc31de3f3b3a502f4c47d1
Ticket: 1195139fffffffffffffffffffffffffffffffff
NULL undefined in strstr.c
User & Date: nobody on 2005-05-04 11:28:19
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The function strstr() in compat/strstr.c uses NULL as a 
    return value but NULL is not defined, neither locally nor 
    by inclusion of an appropriate header file.
    I discovered this when cross-compiling the latest 
    tcl8.4.9 source code on a Linux x86 platform targetting 
    an embedded PowerPC 60x running Linux. The 
    configure script correctly detected that the strstr() 
    function needed to be build for this platform, but the 
    subsequent compilation failed because of the undefined 
    NULL. Fixing is trivial.
    
    
  4. foundin changed to: "obsolete: 8.4.9"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "NULL undefined in strstr.c"
  11. type changed to: "Bug"