diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-28 02:15:24 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-28 02:16:48 -0800 |
commit | be33d3f2a44ad16358b614c9f47fdb8094b4e127 (patch) | |
tree | 6f71351479ec06b1519e2ec5c26e220c1fdd0464 /proc.cpp | |
parent | 858b6aa257c13451d0537b19c6f035fdb5114ee6 (diff) |
Revert "Merge pull request #1317 from pullreq/cpp"
This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing
changes made to 6d749789ce240a3e6f1447777db63fd8e7525560.
See discussion in #1317
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/** \file proc.cpp +/** \file proc.c Utilities for keeping track of jobs, processes and subshells, as well as signal handling functions for tracking children. These @@ -383,6 +383,8 @@ static void mark_process_status(const job_t *j, process_t *p, int status) } else { + ssize_t ignore; + /* This should never be reached */ p->completed = 1; @@ -396,6 +398,7 @@ static void mark_process_status(const job_t *j, process_t *p, int status) handler. If things aren't working properly, it's safer to give up. */ + ignore = write(2, mess, strlen(mess)); } } |