diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2024-09-20 22:20:43 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-09-24 12:24:19 +0000 |
| commit | b8baf3f3ee7727682cddafb6e7a589ac2a220a38 (patch) | |
| tree | 8e3fa1185bd1a8b6e62e6147d13ea4275e871e16 /doc/optparse/ruby/parse.rb | |
| parent | 5228d349d98a2cac91503b73710c31125e62c244 (diff) | |
[ruby/prism] check_string() should always return a valid C string
* Otherwise it is invalid e.g. to call strlen() to the result,
or to assume the argument was a string.
* All callers are already checking for nil before.
https://github.com/ruby/prism/commit/8197be883e
Diffstat (limited to 'doc/optparse/ruby/parse.rb')
0 files changed, 0 insertions, 0 deletions
