mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Comment. Missing OS X headers. +TODO.
This commit is contained in:
		
							
								
								
									
										2
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								TODO
									
									
									
									
									
								
							@@ -88,3 +88,5 @@
 | 
				
			|||||||
  cannot control it per-session
 | 
					  cannot control it per-session
 | 
				
			||||||
- if the child is suspended in window with eg ^Z it should be restarted, or
 | 
					- if the child is suspended in window with eg ^Z it should be restarted, or
 | 
				
			||||||
  ^Z should be ignored
 | 
					  ^Z should be ignored
 | 
				
			||||||
 | 
					- look at osdep-openbsd/freebsd code again to try and make it more accurate
 | 
				
			||||||
 | 
					  and more consistent
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: osdep-darwin.c,v 1.3 2009-01-30 20:14:35 nicm Exp $ */
 | 
					/* $Id: osdep-darwin.c,v 1.4 2009-02-07 19:41:35 nicm Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2009 Joshua Elsasser <josh@elsasser.org>
 | 
					 * Copyright (c) 2009 Joshua Elsasser <josh@elsasser.org>
 | 
				
			||||||
@@ -22,6 +22,8 @@
 | 
				
			|||||||
#include <sys/sysctl.h>
 | 
					#include <sys/sysctl.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					#include <unistd.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
char	*get_argv0(int, char *);
 | 
					char	*get_argv0(int, char *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: osdep-openbsd.c,v 1.9 2009-02-07 19:24:50 nicm Exp $ */
 | 
					/* $Id: osdep-openbsd.c,v 1.10 2009-02-07 19:41:35 nicm Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
					 * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
				
			||||||
@@ -92,7 +92,7 @@ retry:
 | 
				
			|||||||
		if (p->p_flag & P_SINTR && !(bestp->p_flag & P_SINTR))
 | 
							if (p->p_flag & P_SINTR && !(bestp->p_flag & P_SINTR))
 | 
				
			||||||
			bestp = p;
 | 
								bestp = p;
 | 
				
			||||||
		if (LIST_FIRST(&p->p_children) == NULL &&
 | 
							if (LIST_FIRST(&p->p_children) == NULL &&
 | 
				
			||||||
		    LIST_FIRST(&bestp->p_children) != NULL)
 | 
							    LIST_FIRST(&bestp->p_children) != NULL) /* XXX ugh */
 | 
				
			||||||
			bestp = p;
 | 
								bestp = p;
 | 
				
			||||||
	}	
 | 
						}	
 | 
				
			||||||
	if (bestp != NULL) {
 | 
						if (bestp != NULL) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user