diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-06-09 14:39:59 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-07-27 12:46:42 +0200 |
commit | 9b4b4925b38333b8d7795331d27db9811f43d72a (patch) | |
tree | 34213ad5c4a1db77ebdcf531e29bbb338e0a0671 /src/ruby/nxt_ruby.h | |
parent | 91ffd08d119b50d7491827aa6da83006c86076d9 (diff) | |
download | unit-9b4b4925b38333b8d7795331d27db9811f43d72a.tar.gz unit-9b4b4925b38333b8d7795331d27db9811f43d72a.tar.bz2 |
Ruby: fixed contents of SCRIPT_NAME.
Having the basename of the script pathname was incorrect. While
we don't have something more accurate, the best thing to do is to
have it empty (which should be the right thing most of the time).
This closes #715 issue on GitHub.
The bug was introduced in git commit
0032543fa65f454c471c968998190b027c1ff270
'Ruby: added the Rack environment parameter "SCRIPT_NAME".'.
Diffstat (limited to 'src/ruby/nxt_ruby.h')
-rw-r--r-- | src/ruby/nxt_ruby.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ruby/nxt_ruby.h b/src/ruby/nxt_ruby.h index 3bdd567a..26430021 100644 --- a/src/ruby/nxt_ruby.h +++ b/src/ruby/nxt_ruby.h @@ -22,7 +22,6 @@ typedef struct { VALUE env; - VALUE script; VALUE io_input; VALUE io_error; VALUE thread; |