aboutsummaryrefslogtreecommitdiff
path: root/malloc/dynarray_resize.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
* All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
2017-08-30dynarray: Set errno on overflow-induced allocation failureFlorian Weimer1-1/+6
This allows the caller to return directly on such an error, with an appropriate errno value.
2017-06-02Add internal facility for dynamic array handlingFlorian Weimer1-0/+59
This is intended as a type-safe alternative to obstacks and hand-written realloc constructs. The implementation avoids writing function pointers to the heap.