Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove scattered checks for malloc success. | NeilBrown | 2012-07-09 |
| | | | | | | | | | | | | | | malloc should never fail, and if it does it is unlikely that anything else useful can be done. Best approach is to abort and let some super-daemon restart. So define xmalloc, xcalloc, xrealloc, xstrdup which don't fail but just print a message and exit. Then use those removing all the tests for failure. Also replace all "malloc;memset" sequences with 'xcalloc'. Signed-off-by: NeilBrown <neilb@suse.de> | ||
* | This is to avoid gcc warnings when building with strict-aliasing optimization | Neil Brown | 2006-05-29 |
| | | | | | | | | | fix for another srict-aliasing problem, you can typecast a reference to a void pointer to anything, you cannot typecast a reference to a struct. From: Luca Berra <bluca@vodka.it> Signed-off-by: Neil Brown <neilb@suse.de> | ||
* | mdadm-0.8 | Neil Brown | 2002-04-04 |
| | |||
* | mdctl-v0.4 | Neil Brown | 2001-07-26 |