summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/strcasecmp.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-07-15 19:13:59 +0000
committerkientzle <kientzle@FreeBSD.org>2007-07-15 19:13:59 +0000
commitc2571d8b749d2251abc1a93a11f2cf9c5b3d9cef (patch)
tree277b7c303ff4bb3a5583547383d51d714527e1c8 /contrib/diff/lib/strcasecmp.c
parent235eaa1de0144fe4b74f0955091911fb67fffa86 (diff)
downloadFreeBSD-src-c2571d8b749d2251abc1a93a11f2cf9c5b3d9cef.zip
FreeBSD-src-c2571d8b749d2251abc1a93a11f2cf9c5b3d9cef.tar.gz
archive_string_ensure() used to call exit(3) if it
couldn't allocate more memory for a string. Change this so it returns NULL in that case, and update all of its callers to handle the error. Some of those callers can now return errors back to the client instead of calling exit(3). Approved by: re (bmah)
Diffstat (limited to 'contrib/diff/lib/strcasecmp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud