diff options
author | Michael Jennings <mej@kainx.org> | 2000-02-16 03:37:34 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2000-02-16 03:37:34 +0000 |
commit | af082c9a22398e18bc759c47bdf18f7e7dfaee38 (patch) | |
tree | f9883442eeb879b33086047f7b6ed798c7d89d62 /src/system.c | |
parent | 16580dfd295fe4c1fdb361a9d348e784a664bf0c (diff) | |
download | eterm-af082c9a22398e18bc759c47bdf18f7e7dfaee38.tar.gz |
Tue Feb 15 19:31:04 PST 2000 Michael Jennings <mej@eterm.org>
The buttonbar can now be toggled on and off both in the config file
and via an escape sequence. The themes in CVS use Ctrl-Shift-Button3.
You can also specify in the config file whether to dock the buttonbar
at the top or the bottom of the Eterm window. You can't move it on
the fly yet, but that will come.
I also fixed resizing so that the term window didn't redraw itself
unnecessarily. Hopefully I didn't break anything in the process. :-)
Plus, I fixed poor handling of X-generated ConfigureNotify events, and
the terminfo stuff is now done at install time instead of build time.
SVN revision: 2077
Diffstat (limited to 'src/system.c')
-rw-r--r-- | src/system.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c index 68316ea..d0b2978 100644 --- a/src/system.c +++ b/src/system.c @@ -45,7 +45,6 @@ static const char cvs_ident[] = "$Id$"; int wait_for_chld(int system_pid) { - int pid, status = 0, save_errno = errno, code; D_OPTIONS(("wait_for_chld(%ld) called.\n", system_pid)); @@ -57,6 +56,10 @@ wait_for_chld(int system_pid) /* If the child that exited is the command we spawned, or if the child exited before fork() returned in the parent, it must be our immediate child that exited. We exit gracefully. */ + if ((pid == -1) && (errno == ECHILD)) { /* No children exist. Punt. */ + errno = save_errno; + break; + } D_OPTIONS(("%ld exited.\n", pid)); if (pid == system_pid || system_pid == -1) { if (WIFEXITED(status)) { |