mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Fix utf8proc version logging.
This commit is contained in:
		
							
								
								
									
										4
									
								
								compat.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								compat.h
									
									
									
									
									
								
							@@ -33,6 +33,10 @@
 | 
			
		||||
#include <ncurses.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_UTF8PROC
 | 
			
		||||
#include <utf8proc.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef __GNUC__
 | 
			
		||||
#define __attribute__(a)
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								proc.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								proc.c
									
									
									
									
									
								
							@@ -183,14 +183,14 @@ 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; libevent %s (%s)"
 | 
			
		||||
	log_debug("on %s %s %s", u.sysname, u.release, u.version);
 | 
			
		||||
	log_debug("using libevent %s (%s)"
 | 
			
		||||
#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 ()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user