diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-02-23 23:11:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-02-23 23:11:44 +0900 |
commit | 7563d542d6c2bba5f5820f45b9707583aa28b136 (patch) | |
tree | ffa62f126f49d671f015d5cb70b954a9177e4544 /debug.c | |
parent | 819dd464dee2245299cb62323fe5c2b42940879e (diff) |
Use the system getenv in setup_debug_log
As ruby_set_debug_option() is called before ruby_sysinit(),
CRITICAL_SECTIONs are not initialized yet.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -263,6 +263,7 @@ ruby_set_debug_option(const char *str) } #if RUBY_DEVEL +#undef getenv // RUBY_DEBUG_LOG features // See vm_debug.h comments for details. |