* 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
@ -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>
|
Tue Nov 30 16:23:23 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/http.rb: improve rdoc.
|
* lib/net/http.rb: improve rdoc.
|
||||||
|
@ -585,6 +585,9 @@ bugreport_backtrace(void *arg, VALUE file, int line, VALUE method)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__FreeBSD__) && defined(__OPTIMIZE__)
|
||||||
|
#undef HAVE_BACKTRACE
|
||||||
|
#endif
|
||||||
#if HAVE_BACKTRACE
|
#if HAVE_BACKTRACE
|
||||||
# include <execinfo.h>
|
# include <execinfo.h>
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user