mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Log ncurses and utf8proc versions.
This commit is contained in:
parent
d48f0e114e
commit
87a59efc94
6
compat.h
6
compat.h
@ -27,6 +27,12 @@
|
|||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
|
#if defined(HAVE_CURSES_H)
|
||||||
|
#include <curses.h>
|
||||||
|
#elif defined(HAVE_NCURSES_H)
|
||||||
|
#include <ncurses.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
#define __attribute__(a)
|
#define __attribute__(a)
|
||||||
#endif
|
#endif
|
||||||
|
15
proc.c
15
proc.c
@ -183,8 +183,19 @@ proc_start(const char *name)
|
|||||||
|
|
||||||
log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
|
log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
|
||||||
(long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
|
(long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
|
||||||
log_debug("on %s %s %s; libevent %s (%s)", u.sysname, u.release,
|
log_debug("on %s %s %s; libevent %s (%s)"
|
||||||
u.version, event_get_version(), event_get_method());
|
#ifdef HAVE_UTF8PROC
|
||||||
|
"; utf8proc %s/%s"
|
||||||
|
#endif
|
||||||
|
#ifdef NCURSES_VERSION
|
||||||
|
"; ncurses " NCURSES_VERSION
|
||||||
|
#endif
|
||||||
|
, u.sysname, u.release, u.version
|
||||||
|
, event_get_version(), event_get_method()
|
||||||
|
#ifdef HAVE_UTF8PROC
|
||||||
|
, utf8proc_version (), utf8proc_unicode_version ()
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
|
||||||
tp = xcalloc(1, sizeof *tp);
|
tp = xcalloc(1, sizeof *tp);
|
||||||
tp->name = xstrdup(name);
|
tp->name = xstrdup(name);
|
||||||
|
@ -18,11 +18,6 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if defined(HAVE_CURSES_H)
|
|
||||||
#include <curses.h>
|
|
||||||
#elif defined(HAVE_NCURSES_H)
|
|
||||||
#include <ncurses.h>
|
|
||||||
#endif
|
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user