diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-11 00:29:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-11 01:56:50 +0900 |
commit | cc0fca2729368f5d5628829a329eb05a86728ace (patch) | |
tree | b004d2d88341b6fa99be88996e58d3e1955dd71d /internal | |
parent | 92cf14b4c5ba4d18140be870bbc5530d1d9e7140 (diff) |
Fix range of `--backtrace-limit`
Also an option command line should have precedence over `RUBYOPT`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8200
Diffstat (limited to 'internal')
-rw-r--r-- | internal/cmdlineopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h index b2e38bbb47..3b678b1edd 100644 --- a/internal/cmdlineopt.h +++ b/internal/cmdlineopt.h @@ -23,7 +23,7 @@ typedef struct ruby_cmdline_options { ruby_features_t features; ruby_features_t warn; unsigned int dump; - int backtrace_length_limit; + long backtrace_length_limit; #if USE_RJIT struct rb_rjit_options rjit; #endif |