Commit Graph

8 Commits

Author SHA1 Message Date
dholland cd3306d1ba Fix failure message for ecalloc. 2012-12-30 17:37:13 +00:00
dholland 1e653dd9c8 If malloc, calloc, or realloc returns NULL when a size of 0 was
requested, which is allowed by pertinent standards, honor it instead
of bombing.

Do not do this for calloc(x, y) where x != 0 && y != 0 but x*y == 0;
in that case bomb.
2012-12-30 17:36:00 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
pooka 060d8639e3 add estrndup() 2007-07-01 21:41:16 +00:00
christos 5863dc6ef1 Coverity CID 4159: Don't memset() needlessly. 2006-09-27 16:20:03 +00:00
christos ec0bdc9542 make this compilable as a tool. 2006-08-28 20:46:26 +00:00
christos 568f6f6f30 Only use __RCSID if we have it. 2006-08-26 23:17:43 +00:00
christos 6e90deb9cb Efun source. 2006-08-26 18:11:45 +00:00