tmux/compat
Tiago Cunha 0646b3caf2 Sync OpenBSD patchset 680:
Remove XXX comment and just close received fd if calloc() fails.

If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.

discussed with and ok eric
2010-04-12 21:45:18 +00:00
..
asprintf.c Trim. 2008-09-26 06:45:28 +00:00
bitstring.h Start of portability update: bitstring.h. 2009-06-25 17:02:59 +00:00
daemon.c HAVE_. 2009-05-14 07:51:51 +00:00
fgetln.c /* $Id$ */ 2009-04-29 22:45:32 +00:00
forkpty-aix.c Don't try to use tio if it is NULL. 2009-09-20 18:31:16 +00:00
forkpty-sunos.c Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname. 2009-10-15 07:11:25 +00:00
getopt.c Missing options are not illegal. 2009-08-09 18:35:38 +00:00
imsg-buffer.c Sync OpenBSD patchset 329: 2009-09-15 23:59:40 +00:00
imsg.c Sync OpenBSD patchset 680: 2010-04-12 21:45:18 +00:00
imsg.h Sync OpenBSD patchset 329: 2009-09-15 23:59:40 +00:00
queue.h Make it build/run on Linux. 2007-10-31 14:26:26 +00:00
strcasestr.c Solaris has no strcasestr. 2009-07-02 07:31:02 +00:00
strlcat.c Make it build/run on Linux. 2007-10-31 14:26:26 +00:00
strlcpy.c Make it build/run on Linux. 2007-10-31 14:26:26 +00:00
strsep.c Solaris has no strsep(3). 2009-08-16 16:15:53 +00:00
strtonum.c Make it build/run on Linux. 2007-10-31 14:26:26 +00:00
tree.h Now in base. 2009-05-26 18:31:10 +00:00
unvis.c Add unvis(3) compat stuff. 2009-08-09 15:39:41 +00:00
vis.c vis compat stuff. 2009-06-25 20:27:32 +00:00
vis.h Don't see a reason for sys/cdefs.h here; remove it. 2009-07-01 23:22:46 +00:00