From ffdcfe2414e881753ba6be9a91b43fa224fc5cf6 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 12 May 2008 14:15:32 +0000 Subject: * process.c, include/ruby/intern.h (rb_run_exec_options): externed. * process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2, run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options): save parent's process environments. !!!remark!!! these are not thread-safe. * process.c (rb_spawn_internal): remove calling run_exec_options() because cannot restore after spawn. we'll fix this later. * io.c (pipe_open): ditto. * test/ruby/test_process.rb (test_execopts_env): upcase environment variable name for case insensitive platforms. * win32/win32.c (init_env): set USER environment variable only when USERNAME is available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7401c2210..51fb2f7d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +Mon May 12 23:05:24 2008 NAKAMURA Usaku + + * process.c, include/ruby/intern.h (rb_run_exec_options): externed. + + * process.c (save_redirect_fd, save_env_i, save_env, run_exec_dup2, + run_exec_open, run_exec_pgroup, run_exec_rlimit, rb_run_exec_options): + save parent's process environments. + !!!remark!!! these are not thread-safe. + + * process.c (rb_spawn_internal): remove calling run_exec_options() + because cannot restore after spawn. we'll fix this later. + + * io.c (pipe_open): ditto. + + * test/ruby/test_process.rb (test_execopts_env): upcase environment + variable name for case insensitive platforms. + + * win32/win32.c (init_env): set USER environment variable only when + USERNAME is available. + Mon May 12 22:23:01 2008 Tanaka Akira * lib/date.rb (once): use Object#object_id instead of Symbol#to_i. -- cgit