Artifacts Associated With Ticket 219093
Ticket change [30bc599f54] (rid 93305) by nobody on 2000-10-26 01:10:37:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5624 Bug Version: 8.4a1 SubmitDate: '2000-05-22' LastModified: '2000-05-22' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Linux FixedDate: '2000-05-22' FixedInVersion: 8.4a1 ClosedDate: '2000-10-25' Name: mo CVS: Fri May 19 ReproducibleScript: ... tclEnv.c -o tclEnv.o /home/mo/project/tcl/win/../generic/tclEnv.c: In function `TclUnsetEnv': /home/mo/project/tcl/win/../generic/tclEnv.c:391: warning: passing arg 1 of `Tcl_Alloc' as unsigned due to prototype DesiredBehavior: I would like it to compile cleanly. Patch: Index: ChangeLog =================================================================== RCS file: /cvsroot/tcl/ChangeLog,v retrieving revision 1.241 diff -u -r1.241 ChangeLog --- ChangeLog2000/05/18 22:29:551.241 +++ ChangeLog2000/05/19 22:37:12 @@ -1,3 +1,9 @@ +2000-05-19 Mo DeJong <[email protected]> + +* generic/tclEnv.c (TclUnsetEnv): Changed +type of argument to ckalloc from int to +unsigned int so that it matches the prototype. + 2000-05-18 Eric Melski <[email protected]> * tests/clock.test: Added test for "2 days 2 hours ago" style Index: generic/tclEnv.c =================================================================== RCS file: /cvsroot/tcl/generic/tclEnv.c,v retrieving revision 1.7 diff -u -r1.7 tclEnv.c --- tclEnv.c2000/04/19 08:32:441.7 +++ tclEnv.c2000/05/19 22:37:12 @@ -356,7 +356,8 @@ CONST char *name;/* Name of variable to remove (UTF-8). */ { char *oldValue; - int length, index; + unsigned int length; + int index; #ifdef USE_PUTENV Tcl_DString envString; char *string; PatchFiles: ChangeLog generic/tclEnv.c Patched as noted for 8.4a1. -- 05/22/2000 hobbs
- foundin initialized to: "obsolete: 8.4a1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to: "Patch to fix compiler warning in tclEnv.c"
- type initialized to: "Bug"
Ticket change [5ca8b7206d] (rid 115345) by welch on 2000-10-26 08:34:55:
- closedate changed to: "2000-10-26T01:34:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [7b87b51ca0] (rid 96926) by dgp on 2001-04-05 06:52:46:
- closedate changed to: "2001-04-04T23:52:46"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"