4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 5bbe424 was
db06c9d,
checked in by Daniel Lawson <dlawson@…>, 17 years ago
|
change way we open files to get around gzopen being broken
adding malloc and realloc substitution functions
|
-
Property mode set to
100644
|
File size:
275 bytes
|
Line | |
---|
1 | #if HAVE_CONFIG_H |
---|
2 | # include <config.h> |
---|
3 | #endif |
---|
4 | #undef malloc |
---|
5 | |
---|
6 | #include <sys/types.h> |
---|
7 | |
---|
8 | void *malloc (); |
---|
9 | |
---|
10 | /* Allocate an N-byte block of memory from the heap. |
---|
11 | * If N is zero, allocate a 1-byte block */ |
---|
12 | |
---|
13 | void * |
---|
14 | rpl_malloc(size_t n) |
---|
15 | { |
---|
16 | if (n == 0) |
---|
17 | n = 1; |
---|
18 | return malloc(n); |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.