summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/xmalloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add xrecallocarray.nicm2019-11-281-1/+15
|
* asprintf returns -1, not an arbitrary value < 0. Also upon error thederaadt2019-06-281-2/+2
| | | | | | | (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
* Key running commands for #() by the unexpanded command, and run themnicm2016-11-171-1/+11
| | | | | again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz.
* fatalx() not fatal().nicm2016-04-041-12/+12
|
* Sync the entire xmalloc.[ch] with the other users, but with the additionnicm2015-11-181-69/+65
| | | | of xrealloc, xvasprintf, xvsnprintf.
* Merge xmalloc.[ch] files across base, skipping OpenSSH for now.tobias2015-11-171-28/+21
| | | | ok nicm
* Better format for printf format attributes.nicm2014-10-201-3/+3
|
* Tidy up some includes.nicm2014-10-201-4/+2
|
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-081-3/+16
|
* xfree is not particularly helpful, remove it. From Thomas Adam.nicm2012-07-101-9/+1
|
* tabs are better; ok nicmderaadt2009-10-261-32/+32
|
* Use strlcpy instead of strncpy, pointed out by deraadt.nicm2009-10-261-3/+4
|
* Import tmux, a terminal multiplexor allowing (among other things) a singlenicm2009-06-011-0/+144
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