mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (pst_inspect): describe stopped process "stopped".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
28965ac88a
commit
77d7066abe
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Sep 30 11:29:23 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* process.c (pst_inspect): describe stopped process "stopped".
|
||||
|
||||
Tue Sep 30 09:31:56 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/runner.rb: glob for directories.
|
||||
|
|
|
@ -162,10 +162,10 @@ pst_inspect(st)
|
|||
int stopsig = WSTOPSIG(status);
|
||||
char *signame = ruby_signal_name(stopsig);
|
||||
if (signame) {
|
||||
snprintf(buf, sizeof(buf), ",signaled(SIG%s=%d)", signame, stopsig);
|
||||
snprintf(buf, sizeof(buf), ",stopped(SIG%s=%d)", signame, stopsig);
|
||||
}
|
||||
else {
|
||||
snprintf(buf, sizeof(buf), ",signaled(%d)", stopsig);
|
||||
snprintf(buf, sizeof(buf), ",stopped(%d)", stopsig);
|
||||
}
|
||||
rb_str_cat2(str, buf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue