diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-16 02:43:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-16 02:43:55 +0000 |
commit | 803621f6d7e8415452fec49292b2b045dc04fa37 (patch) | |
tree | c6079e9786e253faedf45839d3f2072c62b2c731 /internal.h | |
parent | 992b0148cacc7abbd439691460b5d937930e53ca (diff) | |
download | ruby-803621f6d7e8415452fec49292b2b045dc04fa37.tar.gz |
file.c: refine message
* file.c (rb_get_path_check_convert): refine the error message
when the path name contains null byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index c44d7bd99c..897c72b307 100644 --- a/internal.h +++ b/internal.h @@ -1475,6 +1475,7 @@ VALUE rb_enc_str_scrub(rb_encoding *enc, VALUE str, VALUE repl); size_t rb_str_memsize(VALUE); VALUE rb_sym_proc_call(ID mid, int argc, const VALUE *argv, VALUE passed_proc); VALUE rb_sym_to_proc(VALUE sym); +char *rb_str_to_cstr(VALUE str); /* symbol.c */ #ifdef RUBY_ENCODING_H |