mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
4bded50f0d
commit
a926288bee
2 changed files with 10 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue