mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
de678cd51e
commit
a51e1cd682
Notes:
git
2022-01-25 16:44:27 +09:00
1 changed files with 0 additions and 2 deletions
|
@ -1008,7 +1008,6 @@ rb_dump_machine_register(const ucontext_t *ctx)
|
||||||
void
|
void
|
||||||
rb_vm_bugreport(const void *ctx)
|
rb_vm_bugreport(const void *ctx)
|
||||||
{
|
{
|
||||||
#if RUBY_DEVEL
|
|
||||||
const char *cmd = getenv("RUBY_ON_BUG");
|
const char *cmd = getenv("RUBY_ON_BUG");
|
||||||
if (cmd) {
|
if (cmd) {
|
||||||
char buf[0x100];
|
char buf[0x100];
|
||||||
|
@ -1018,7 +1017,6 @@ rb_vm_bugreport(const void *ctx)
|
||||||
snprintf(buf, sizeof(buf), "Launching RUBY_ON_BUG command failed.");
|
snprintf(buf, sizeof(buf), "Launching RUBY_ON_BUG command failed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
# define PROC_MAPS_NAME "/proc/self/maps"
|
# define PROC_MAPS_NAME "/proc/self/maps"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue