summaryrefslogtreecommitdiff
path: root/usr.bin/diff/xmalloc.c
AgeCommit message (Expand)Author
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error theTheo de Raadt
2015-11-17Merge xmalloc.[ch] files across base, skipping OpenSSH for now.Tobias Stoeckmann
2015-09-25xmalloc/free wrappers don't need to support 20 year old non comformanceTed Unangst
2015-06-17Use strdup in xstrdup; from Fritjof Bornebusch.Nicholas Marriott
2015-04-29Change internal xrealloc() to a idiom-following xreallocarray().Theo de Raadt
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2013-08-19Fix bogus errx(2, NULL) usage; malloc() failure should use err(2, NULL).Todd C. Miller
2010-08-04exit(2) on xcalloc failure. From Daniel Dickman <didickman () gmailRay Lai
2009-06-07More cvs/diff/rcs convergence:Ray Lai
2007-05-29Bring in some changes from rcsdiff:Ray Lai