Artifacts Associated With Ticket 929926ffffffffff
Ticket change [df8a92c6b1] (rid 115028) by kot on 2004-04-05 18:44:52:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Currently Tcl_Alloc causes warnings on 64-bit platforms with things like ckalloc(sizeof(foo)), because sizeof returns size_t; and will break, when people start using large memory machines. Trying to allocate more than 4Gb of RAM seems ridiculous now, but just give it time...
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kot"
- subsystem initialized to: "None"
- title initialized to: "Tcl_Alloc should take WideInt or size_t"
- type initialized to: "RFE"
Ticket change [6bfb43c59b] (rid 128420) by dgp on 2004-04-06 10:47:25:
- icomment:
Logged In: YES user_id=80530 This is a Feature Request not a bug.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [084158e2ee] (rid 89531) by dgp on 2004-04-06 10:50:00:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=80530 See TIP 115: http://purl.org/tcl/tip/115.html for a pending proposal on this issue.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "- New Stub Entries"
- username: "dgp"
Ticket change [ce310cd31a] (rid 96013) by dkf on 2004-04-06 16:17:13:
- icomment:
Logged In: YES user_id=79902 This is a known problem, but can't be fixed in 8.5 because it stamps incompatably on an enormous number of APIs. I had a look into it when doing the TIP#72 implementation, and it turns out to be even more pernicious than const-poisoning. The correct type is either 'size_t' or 'unsigned long' (depending on factors that have nothing to do with technical issues.)
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "dkf"
- icomment:
Ticket change [714e1297c5] (rid 100649) by kot on 2004-04-06 20:28:06:
- icomment:
Logged In: YES user_id=173641 So, if a bug exists for too long, requests to fix it become "feature requests"? :-) Yes, wherever such a thing exists, size_t should be the replacement. That's what it was invented for -- many years ago. Something needs to be done, and quickly (preferably in 8.5 with backport available for 8.4 as a patch). Donal K. Fellows is absolutely right about the 64-bit platforms becoming more common. My client just got a FreeBSD/amd64 system, thanks in no small part to the ability to mmap large files directly, and to the possibility to have 12Gb of RAM (although we only have 2Gb right now).
- login: "kot"
- mimetype: "text/plain"
- username: "kot"
- icomment:
Ticket change [0a1784452a] (rid 113757) by dgp on 2004-04-07 05:09:34:
- icomment:
Logged In: YES user_id=80530 Did you read TIP 115 or not?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [00d52fc763] (rid 119379) by kot on 2004-04-07 05:27:01:
- icomment:
Logged In: YES user_id=173641 Of course, I read it. That's how I knew Donal's name :-) I'm just trying to impress the importance of this 64-bit cleanlines (and thus the 64-bit godliness) on you, guys, so that, may be, you'll think of a way to bring it in sooner... The const-poisoning was a great thing -- forcing a review of almost entire TCL code. This should be no less usefull for the programmers, and a lot more useful for the users (of big machines).
- login: "kot"
- mimetype: "text/plain"
- username: "kot"
- icomment:
Ticket change [5a16e000e1] (rid 118083) by dgp on 2004-04-07 05:34:34:
- icomment:
Logged In: YES user_id=80530 my mistake. I overlooked your smiley.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [09cec3ebac] (rid 113719) by dkf on 2004-04-07 20:11:27:
- icomment:
Logged In: YES user_id=79902 I use Tcl on big-iron too, so I really do understand.
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "41. Memory Allocation"
- username: "dkf"
- icomment:
Ticket change [2469ba7143] (rid 131104) by dkf on 2004-07-07 20:47:10:
- closedate changed to: "2004-07-07T13:47:10"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Dup of Bug 219196
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dkf"