mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	FreeBSD 6.x has a bug and crashes in del_curterm, so ifdef it out on that
platform.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty-term.c,v 1.40 2009-12-04 22:14:47 tcunha Exp $ */
 | 
			
		||||
/* $Id: tty-term.c,v 1.41 2009-12-18 07:42:30 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -376,7 +376,9 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
 | 
			
		||||
	tty_term_override(term, overrides);
 | 
			
		||||
 | 
			
		||||
	/* Delete curses data. */
 | 
			
		||||
#if !defined(__FreeBSD_version) || __FreeBSD_version >= 700000
 | 
			
		||||
	del_curterm(cur_term);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	/* These are always required. */
 | 
			
		||||
	if (!tty_term_has(term, TTYC_CLEAR)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user