Include NCURSES_VERSION_PATCH in the log.

This commit is contained in:
Nicholas Marriott 2023-04-25 16:48:49 +01:00
parent b9524f5b72
commit 15c70e562c

11
proc.c
View File

@ -193,18 +193,13 @@ proc_start(const char *name)
log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
(long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
log_debug("on %s %s %s", u.sysname, u.release, u.version);
log_debug("using libevent %s (%s)"
log_debug("using libevent %s %s", event_get_version(), event_get_method());
#ifdef HAVE_UTF8PROC
"; utf8proc %s"
log_debug("using utf8proc %s", utf8proc_version());
#endif
#ifdef NCURSES_VERSION
"; ncurses " NCURSES_VERSION
log_debug("using ncurses %s %06u", NCURSES_VERSION, NCURSES_VERSION_PATCH);
#endif
, event_get_version(), event_get_method()
#ifdef HAVE_UTF8PROC
, utf8proc_version()
#endif
);
tp = xcalloc(1, sizeof *tp);
tp->name = xstrdup(name);