From a69db44acec55e04dc4a37800285ebb3c4767439 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: http://svn.ruby-lang.org/repos/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 7f12ebc5d..b7340cf83 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