Project

General

Profile

Bug #782

余分な外部シンボル

Added by tad (Tadashi Saito) over 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF