Overview
| Artifact ID: | 122bbc56bfe297f07c1b6e3f407ca97b72abe1f3 |
|---|---|
| Ticket: | 2073255fffffffffffffffffffffffffffffffff
Tcl_GetString(NULL) doesn't crash on HP-UX |
| User & Date: | nijtmans on 2008-08-25 09:08:29 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
When calling Tcl_GetString(NULL) on HP-UX, the effect is: UpdateStringProc should not be invoked for type Abort(coredump) The reason for this is a 'strange' feature of the HP-UX C compiler:by default NULL-pointer references are allowed and simply return 0. The problem with this is that pointer reference mistakes can cause strange behavior far from the place where the actual error is, such as the Tcl_GetString(NULL) example. Proposed solution: Add the "+z" options to CFLAGS (see patch) - foundin changed to: "obsolete: 8.5.4"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nijtmans"
- subsystem changed to: "52. Portability Support"
- title changed to: "Tcl_GetString(NULL) doesn't crash on HP-UX"
- type changed to: "Bug"