Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-19 | alloc-util: cleanups | Alexander Kuleshov | |
This patch contains a set of little cleanups for alloc-util.h: 1. The malloc_multiply(), realloc_multiply() and memdup_multiply() functions check allocation related parameters on overflow. Let's move them to the separate size_multiply_overflow() function for simplicity, code duplication prevention and possible reuse in future. 2. use SIZE_MAX from stdlib instead of ((size_t) - 1) to be more clear. 3. The 'a'/'b' variables are renamed to 'size' and 'need' to be more clear.' | |||
2016-02-10 | tree-wide: remove Emacs lines from all files | Daniel Mack | |
This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file. | |||
2015-11-30 | basic: include only what we use | Thomas Hindoe Paaboel Andersen | |
This is a cleaned up result of running iwyu but without forward declarations on src/basic. | |||
2015-10-27 | util-lib: split out allocation calls into alloc-util.[ch] | Lennart Poettering | |