зеркало из https://github.com/github/ruby.git
* vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other
words backtrace() is libexecinfo) and it is optimized. This temporary hack should be also applied to other libexecinfo environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
4bded50f0d
Коммит
a926288bee
|
@ -1,3 +1,10 @@
|
|||
Tue Nov 30 16:29:19 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other
|
||||
words backtrace() is libexecinfo) and it is optimized.
|
||||
This temporary hack should be also applied to other libexecinfo
|
||||
environments.
|
||||
|
||||
Tue Nov 30 16:23:23 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb: improve rdoc.
|
||||
|
|
|
@ -585,6 +585,9 @@ bugreport_backtrace(void *arg, VALUE file, int line, VALUE method)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(__FreeBSD__) && defined(__OPTIMIZE__)
|
||||
#undef HAVE_BACKTRACE
|
||||
#endif
|
||||
#if HAVE_BACKTRACE
|
||||
# include <execinfo.h>
|
||||
#elif defined(_WIN32)
|
||||
|
|
Загрузка…
Ссылка в новой задаче