1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* signal.c (sigsegv): clear gc_stress flag on SEGV.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-06-17 17:46:25 +00:00
parent c72ecb25ad
commit 4471bf2356
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Jun 18 02:43:53 2007 Koichi Sasada <ko1@atdot.net>
* signal.c (sigsegv): clear gc_stress flag on SEGV.
Mon Jun 18 01:14:10 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (rb_path2class): get rid of dangling pointer caused by

View file

@ -529,7 +529,9 @@ sigsegv(int sig)
exit(1);
}
else {
extern int gc_stress;
segv_received = 1;
gc_stress = 0;
rb_bug("Segmentation fault");
}
}