From 8db864c99979a0e97d39c47f4345e440f8617a63 Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 31 Oct 2004 17:37:52 +0000 Subject: * io.c (rb_f_open): create copy of popen specifier. [ruby-dev:24656] * string.c (rb_str_locktmp): lock string temporarily. * string.c (str_independent): add tmplock check. * io.c (io_write): lock output string temporarily. [ruby-dev:24649] * io.c (io_write): use rb_str_locktmp(). * io.c (read_all): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern.h') diff --git a/intern.h b/intern.h index 7f12ebc5d2..b7340cf83a 100644 --- a/intern.h +++ b/intern.h @@ -418,6 +418,8 @@ VALUE rb_str_buf_cat2 _((VALUE, const char*)); VALUE rb_obj_as_string _((VALUE)); VALUE rb_check_string_type _((VALUE)); VALUE rb_str_dup _((VALUE)); +VALUE rb_str_locktmp _((VALUE)); +VALUE rb_str_unlocktmp _((VALUE)); VALUE rb_str_dup_frozen _((VALUE)); VALUE rb_str_plus _((VALUE, VALUE)); VALUE rb_str_times _((VALUE, VALUE)); -- cgit v1.2.3