Project

General

Profile

Actions

Bug #782

closed

余分な外部シンボル

Added by tad (Tadashi Saito) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
Backport:
[ruby-dev:37158]

Description

=begin
無意味に外部シンボルを増やさないでください。

Index: signal.c

--- signal.c (revision 20337)
+++ signal.c (working copy)
@@ -49,7 +49,6 @@

#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK)
#define USE_SIGALTSTACK
-int is_altstack_defined = 0;
#endif

static const struct signals {
@@ -424,6 +423,7 @@
/* alternate stack for SIGSEGV */
static void register_sigaltstack() {
stack_t newSS, oldSS;

  • static int is_altstack_defined = 0;

    if(is_altstack_defined)
    return;
    =end

Actions

Also available in: Atom PDF

Like0
Like0Like0