ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtutil.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtutil.C (file contents):
Revision 1.2 by root, Sat Aug 21 05:32:00 2004 UTC vs.
Revision 1.3 by root, Wed Jan 25 00:42:21 2006 UTC

36zero_initialized::operator delete (void *p, size_t s) 36zero_initialized::operator delete (void *p, size_t s)
37{ 37{
38 free (p); 38 free (p);
39} 39}
40 40
41static void *temp_buf;
42static uint32_t temp_len;
43
44void *
45rxvt_temp_buf (int len)
46{
47 if (len > temp_len)
48 {
49 free (temp_buf);
50 temp_buf = malloc (len);
51 temp_len = len;
52 }
53
54 return temp_buf;
55}
41 56
42 57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines