Mercurial > hg > octave-lyh
changeset 2214:b5c7309168f3
[project @ 1996-05-16 15:48:22 by jwe]
author | jwe |
---|---|
date | Thu, 16 May 1996 15:49:42 +0000 |
parents | c4a887694274 |
children | ab0e1fd337f5 |
files | scripts/plot/__pltopt__.m src/sighandlers.h |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__pltopt__.m +++ b/scripts/plot/__pltopt__.m @@ -96,7 +96,7 @@ # First get next char. if (max (size (opt)) > 1) - [char, opt] = sscanf (opt, "%c %s"); + [char, opt] = sscanf (opt, "%c %s", "C"); else char = opt; more_opts = 0;
--- a/src/sighandlers.h +++ b/src/sighandlers.h @@ -56,6 +56,8 @@ extern void octave_restore_signal_mask (void); +// extern void ignore_sigchld (void); + // This is taken directly from Emacs 19: #ifndef SYS_SIGLIST_DECLARED @@ -115,6 +117,8 @@ static void insert (pid_t pid, octave_child::dead_child_handler f); + static void remove (pid_t pid); + static int length (void) { return instance ? instance->curr_len : 0; } static octave_child& elem (int i) @@ -141,6 +145,8 @@ static octave_child_list *instance; void do_insert (pid_t pid, octave_child::dead_child_handler f); + + void do_remove (pid_t pid); }; #endif