Comment. Missing OS X headers. +TODO.

pull/1/head
Nicholas Marriott 2009-02-07 19:41:35 +00:00
parent 1583b87ae6
commit 028419ff4b
3 changed files with 7 additions and 3 deletions

2
TODO
View File

@ -88,3 +88,5 @@
cannot control it per-session
- if the child is suspended in window with eg ^Z it should be restarted, or
^Z should be ignored
- look at osdep-openbsd/freebsd code again to try and make it more accurate
and more consistent

View File

@ -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>
@ -22,6 +22,8 @@
#include <sys/sysctl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
char *get_argv0(int, char *);

View File

@ -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>
@ -92,7 +92,7 @@ retry:
if (p->p_flag & P_SINTR && !(bestp->p_flag & P_SINTR))
bestp = p;
if (LIST_FIRST(&p->p_children) == NULL &&
LIST_FIRST(&bestp->p_children) != NULL)
LIST_FIRST(&bestp->p_children) != NULL) /* XXX ugh */
bestp = p;
}
if (bestp != NULL) {