History of puttymem.h of 48c3c1974567b7c2

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file puttymem.h at check-in 48c3c1974567b7c2

2012-07-18
23:29
Rework the new type-check in sresize so that it doesn't cause a compile warning ('left-hand operand of comma expression has no effect'), which of course becomes fatal under -Werror. (This would have been instantly noticeable to people compiling with the old-fashioned Makefile.gtk, which does include -Wall -Werror, but those of us using the new autoconf makefile hadn't noticed.) file: [cd9f1720c2] check-in: [e0cb545c71] user: simon branch: trunk, size: 1943
2012-05-18
14:51
Enhance my 'sresize' macro so that it type-checks the pointer you pass _in_ to it, as well as the one it returns. Why have I never thought of doing that before?! file: [acc8421846] check-in: [35bac4b296] user: simon branch: trunk, size: 1389
2005-07-06
13:26
Missing argument in MALLOC_LOG version of snrealloc() macro. file: [1d286f689c] check-in: [1d9695328f] user: jacob branch: trunk, size: 1353
2005-02-20
04:30
Additional robustness to SFTP packet parsing and memory allocation. file: [5c28469836] check-in: [6e1691ecfd] user: simon branch: trunk, size: 1351
2003-03-29
10:14
Introduced wrapper macros snew(), snewn() and sresize() for the malloc functions, which automatically cast to the same type they're allocating the size of. Should prevent any future errors involving mallocing the size of the wrong structure type, and will also make life easier if we ever need to turn the PuTTY core code from real C into C++-friendly C. I haven't touched the Mac frontend in this checkin because I couldn't compile or test it. file: [6d34f79f0f] check-in: [48c3c19745] user: simon branch: trunk, size: 1109
2001-05-06
09:35
Run entire source base through GNU indent to tidy up the varying coding styles of the various contributors! Woohoo! file: [00c20f70c6] check-in: [18fcbbf5a2] user: simon branch: trunk, size: 947
2001-04-28
04:24
Dave Hinton's debugging patch. file: [3ebe19565f] check-in: [ef3833ca92] user: simon branch: trunk, size: 931
2000-12-12
04:33
Added: Make memory management uniform: _everything_ now goes through the smalloc() macros and thence to the safemalloc() functions in misc.c. This should allow me to plug in a debugging allocator and track memory leaks and segfaults and things. file: [78d059c447] check-in: [6f56ef599a] user: simon branch: trunk, size: 574