summaryrefslogtreecommitdiffstats
path: root/xmalloc.c
AgeCommit message (Collapse)Author
2019-11-28Add xrecallocarray.nicm
2019-06-28asprintf returns -1, not an arbitrary value < 0. Also upon error thederaadt
(very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated
2016-11-17Key running commands for #() by the unexpanded command, and run themnicm
again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz.
2016-04-04fatalx() not fatal().nicm
2015-11-18Sync the entire xmalloc.[ch] with the other users, but with the additionnicm
of xrealloc, xvasprintf, xvsnprintf.
2015-11-17Merge xmalloc.[ch] files across base, skipping OpenSSH for now.tobias
ok nicm
2014-10-20Better format for printf format attributes.nicm
2014-10-20Tidy up some includes.nicm
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.nicm
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2009-10-26tabs are better; ok nicmTheo Deraadt
2009-10-26Use strlcpy instead of strncpy, pointed out by deraadt.Nicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti