mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (sigsetjmp): check if available.
* eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4239bc0501
commit
df28713ee3
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Jan 19 11:21:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (sigsetjmp): check if available.
|
||||
|
||||
* eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available.
|
||||
|
||||
Sat Jan 19 11:10:11 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: Remove wrong assumptions about Cygwin. a patch from
|
||||
|
|
|
@ -652,7 +652,7 @@ AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall chroot fsync getcwd
|
|||
setrgid setegid setregid setresgid issetugid pause lchown lchmod\
|
||||
getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
|
||||
getpriority getrlimit setrlimit sysconf group_member\
|
||||
dlopen sigprocmask sigaction _setjmp vsnprintf snprintf\
|
||||
dlopen sigprocmask sigaction sigsetjmp _setjmp vsnprintf snprintf\
|
||||
setsid telldir seekdir fchmod cosh sinh tanh log2 round\
|
||||
setuid setgid daemon select_large_fdset setenv unsetenv\
|
||||
mktime timegm clock_gettime gettimeofday)
|
||||
|
|
|
@ -81,7 +81,7 @@ char *strrchr(const char *, const char);
|
|||
#include "vmsruby_private.h"
|
||||
#endif
|
||||
|
||||
#if !defined(setjmp) && defined(HAVE__SETJMP)
|
||||
#if !defined(setjmp) && defined(HAVE__SETJMP) && !defined(HAVE_SIGSETJMP)
|
||||
#define ruby_setjmp(env) _setjmp(env)
|
||||
#define ruby_longjmp(env,val) _longjmp(env,val)
|
||||
#else
|
||||
|
|
2
gc.c
2
gc.c
|
@ -50,7 +50,7 @@
|
|||
|
||||
int rb_io_fptr_finalize(struct rb_io_t*);
|
||||
|
||||
#if !defined(setjmp) && defined(HAVE__SETJMP)
|
||||
#if !defined(setjmp) && defined(HAVE__SETJMP) && !defined(HAVE_SIGSETJMP)
|
||||
#define setjmp(env) _setjmp(env)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue