summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-24 23:56:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-24 23:56:11 +0000
commit2c54765b9e55101d48273938c60c2f71367f307b (patch)
tree2acd04cf6df894a0b9b242a9729b8de965ebd358 /eval.c
parent96d0e68064a778d75df37e84cb7d3a490f77dfef (diff)
downloadruby-2c54765b9e55101d48273938c60c2f71367f307b.tar.gz
ruby-2c54765b9e55101d48273938c60c2f71367f307b.tar.xz
ruby-2c54765b9e55101d48273938c60c2f71367f307b.zip
* error.c (rb_warn_m): should not warn if -W0 is specified.
[ruby-talk:82675] * util.c (ruby_strtod): skip preceding zeros before counting digits in the mantissa. (ruby-bugs PR#1181) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index ec0a03118..897ae7e60 100644
--- a/eval.c
+++ b/eval.c
@@ -9902,6 +9902,7 @@ rb_thread_atfork()
if (rb_thread_alone()) return;
FOREACH_THREAD(th) {
if (th != curr_thread) {
+ rb_warn("fork terminates thread at %s:%s", th->node->nd_file, nd_line(th->node));
rb_thread_die(th);
}
}