Overview
| Artifact ID: | a31a6b7b9e411b9a69e55ba1da854ffb904c9044 |
|---|---|
| Ticket: | 443938ffffffffffffffffffffffffffffffffff
malloc routines use wrong cast |
| User & Date: | nobody on 2001-07-23 22:34:35 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The malloc/ckalloc routines such as tcl_Allooc are defined with the size variable explicitly set to "unsigned int". They should be set to "size_t" (typdef in stdlib.h). When built on a 64 bit platform such as DEC TRU-64 or Solaris 8 (64 bit mode), this definition causes the programs to build improperly. There were also usages of strncmp and sizeof that were coded as if they were expected to return "unsigne int" instead of "size_t" (unsigned long). Compiled with gcc 3.0 as well as Solaris 8 Workshop 6.0 cc and DEC V5.1 cc
- foundin changed to: "obsolete: 8.3.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "07. Variables"
- title changed to: "malloc routines use wrong cast"
- type changed to: "Bug"