Artifacts Associated With Ticket 2073255
Ticket change [122bbc56bf] (rid 95268) by nijtmans on 2008-08-25 09:08:29:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.5.4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nijtmans"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Tcl_GetString(NULL) doesn't crash on HP-UX"
- type initialized to: "Bug"
Ticket change [4beca6e958] (rid 126787) by nijtmans on 2008-08-25 16:11:29:
- icomment:
Logged In: YES user_id=61031 Originator: YES proposed patch (configure should be re-generated as well): *** unix/tcl.m4.origMon Aug 25 10:16:51 2008 --- unix/tcl.m4Mon Aug 25 10:24:47 2008 *************** *** 1262,1267 **** --- 1262,1268 ---- ]) AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no) AS_IF([test "$tcl_ok" = yes], [ + CFLAGS="$CFLAGS -z" SHLIB_CFLAGS="+z" SHLIB_LD="ld -b" SHLIB_LD_LIBS='${LIBS}' - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [f4e992f4a3] (rid 130011) by nijtmans on 2008-10-09 04:45:08:
- icomment:
Original patch will surely not work with gcc, so restructured a little bit. Now committed for the Tcl8.6a3/Tk8.6a3 releases. Not worth to backport, therefore can be closed.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [9fa84afeaa] (rid 96676) by nijtmans on 2008-10-09 12:38:27:
- closedate changed to: "2008-10-09T05:38:27"
- closer changed to: "nijtmans"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [60884c507f] (rid 116016) by nijtmans on 2008-12-21 16:06:35:
- icomment:
Adopted same change in TEA (tclconfig trunk and tea-3-branch)
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment: