From 055026d1784c1bf925164b949b43e8a0d36ade19 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 16 Jan 2017 02:43:55 +0000 Subject: 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 --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') 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 -- cgit v1.2.3