summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 14:15:32 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 14:15:32 +0000
commitffdcfe2414e881753ba6be9a91b43fa224fc5cf6 (patch)
treecd9feecdfda313004ce5e2e7858a390707c46305 /template
parentbdcd05cf0865ec935feaee1e3f1f408261dafb39 (diff)
downloadruby-ffdcfe2414e881753ba6be9a91b43fa224fc5cf6.tar.gz
ruby-ffdcfe2414e881753ba6be9a91b43fa224fc5cf6.tar.xz
ruby-ffdcfe2414e881753ba6be9a91b43fa224fc5cf6.zip
* 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
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions