mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-23 23:29:15 +01:00
Nuke debugging.
This commit is contained in:
parent
2057e666a2
commit
6ad0d2ab4a
4
tmux.h
4
tmux.h
@ -1,4 +1,4 @@
|
||||
/* $Id: tmux.h,v 1.255 2009-01-28 19:52:21 nicm Exp $ */
|
||||
/* $Id: tmux.h,v 1.256 2009-01-29 19:24:34 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -302,7 +302,7 @@ enum tty_code_code {
|
||||
TTYC_SMSO, /* enter_standout_mode, so */
|
||||
TTYC_SMUL, /* enter_underline_mode, us */
|
||||
};
|
||||
#define NTTYCODE (TTYC_SMUL + 1)
|
||||
#define NTTYCODE ((int) TTYC_SMUL + 1)
|
||||
|
||||
/* Termcap types. */
|
||||
enum tty_code_type {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: xmalloc.c,v 1.7 2009-01-14 19:29:32 nicm Exp $ */
|
||||
/* $Id: xmalloc.c,v 1.8 2009-01-29 19:24:34 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -44,7 +44,7 @@ xcalloc(size_t nmemb, size_t size)
|
||||
void *ptr;
|
||||
|
||||
if (size == 0 || nmemb == 0)
|
||||
{ abort();fatalx("zero size");}
|
||||
fatalx("zero size");
|
||||
if (SIZE_MAX / nmemb < size)
|
||||
fatalx("nmemb * size > SIZE_MAX");
|
||||
if ((ptr = calloc(nmemb, size)) == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user