Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-13 | Switch from old errwarn.c logging to shiny new log.[ch]. | Kenneth R Westerback | |
ok benno@ | |||
2016-02-06 | Eliminate #include inside *.h files and include only needed headers in | Kenneth R Westerback | |
each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@. | |||
2015-12-21 | remove NULL-checks before free() | mmcc | |
2010-01-02 | Eliminate all uses of dmalloc() where the returned pointer | Kenneth R Westerback | |
is checked for NULL and a specific error/warning issued. Add two such manual warning/error checks and kill those dmalloc calls. And then there were none, so kill dmalloc(). Whew. | |||
2010-01-01 | Eliminate all uses of dfree() where the pointer is either dereferenced | Kenneth R Westerback | |
immediately before the use or the pointer is checked for NULL before the call. And then there were none, so kill dfree(). | |||
2010-01-01 | Wrappers around a wrapper around free() are of no more use than | Kenneth R Westerback | |
wrappers around wrappers around calloc(). The purpose of the free() wrapper is to generate an error message when free'ing NULL. But free_hash_bucket(), free_lease(), and free_tree() are all called immediately after dereferencing the pointer to be freed. Thus the error message will never be issued. | |||
2010-01-01 | A slightly more complex calloc() wrapper wrapper, new_hash_table(), | Kenneth R Westerback | |
bites the dust. | |||
2010-01-01 | Another calloc() wrapper wrapper, new_tree(), bites the dust. | Kenneth R Westerback | |
2010-01-01 | Two more calloc() wrapper wrappers, new_shared_network() and | Kenneth R Westerback | |
new_subnet(), bite the dust. | |||
2010-01-01 | Single-use wrapper functions that just call a wrapper function | Kenneth R Westerback | |
around calloc() and end up producing duplicate error messages are just confusing. Eliminate new_hash_bucket(), new_lease(), new_leases(), new_group(). | |||
2010-01-01 | Plug a potential leak similar to the one parfait spotted and Theo | Kenneth R Westerback | |
fixed. Eliminate the function new_class() by expanding the only use Use strdup() and calloc() rather than manually simulating them. No functional change. | |||
2004-09-16 | avoid aliasing with libc functions; ok henning | Theo de Raadt | |
2004-05-04 | remove things not used, spotted by lint mostly; ok henning | Theo de Raadt | |
2004-04-14 | cheat to KNF and ansi this: take the one from dhclient and add back the | Henning Brauer | |
few missing functions | |||
2004-04-13 | may the whacking begin | Henning Brauer | |