Overview
| Artifact ID: | 7fefabc9d223a2eec3dc31de3f3b3a502f4c47d1 |
|---|---|
| Ticket: | 1195139fffffffffffffffffffffffffffffffff
NULL undefined in strstr.c |
| User & Date: | nobody on 2005-05-04 11:28:19 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- 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.
- foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "NULL undefined in strstr.c"
- type changed to: "Bug"