Todd C. Miller
|
134b2a4228
|
Rename emalloc2() -> emallocarray() and erealloc3() -> ereallocarray().
|
2014-04-22 16:02:28 -06:00 |
|
Todd C. Miller
|
d6282d154a
|
Update copyright years.
|
2013-04-24 09:35:02 -04:00 |
|
Todd C. Miller
|
d26c0d87f6
|
Convert efree() to a macro that just casts to void * and does free().
If the system free() can't handle free(NULL) this may crash but C89
was a long time ago.
|
2013-03-07 15:41:34 -05:00 |
|
Todd C. Miller
|
4e5baccb9c
|
Add __malloc_like macro to apply __malloc__ attribute to emalloc,
ecalloc and estrdup. It cannot be applied to realloc since that
may return the same pointer.
|
2013-03-05 10:18:32 -05:00 |
|
Todd C. Miller
|
dbbb48c45f
|
Add ecalloc() and commented out recalloc().
Use inline strnlen() instead of strlen() in estrndup().
|
2012-03-19 11:23:25 -04:00 |
|
Todd C. Miller
|
b72a530fd0
|
Update copyright year
|
2010-06-14 12:19:49 -04:00 |
|
Todd C. Miller
|
76c90bc301
|
Add estrndup()
|
2010-02-28 15:09:50 -05:00 |
|
Todd C. Miller
|
841807dd66
|
Convert to ANSI C
|
2010-02-27 09:26:43 -05:00 |
|
Todd C. Miller
|
e90fa482f9
|
Rework source layout in preparation for modular sudo.
|
2010-02-20 09:14:01 -05:00 |
|