diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-20 06:22:50 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-20 06:22:50 +0000 |
commit | 65ba3eba645a61ae9995f9f1e88cab6150c858a7 (patch) | |
tree | 65059b38fc55fe27377314c663426f71be81bccc /ruby.c | |
parent | 068bc7e43a7e88d9d48aa627a846ef5f22660694 (diff) | |
download | ruby-65ba3eba645a61ae9995f9f1e88cab6150c858a7.tar.gz |
* defines.h (PATH_ENV): name of PATH environment. [new].
* defines.h (ENV_IGNORECASE): define for case insensitive platforms
to access environment variables.
* dln.c (dln_find_exe): use PATH_ENV instead of "PATH".
* hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted,
env_aset): ditto.
* ruby.c (proc_options): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -726,7 +726,7 @@ proc_options(argc, argv) script = dln_find_file(argv[0], path); } if (!script) { - script = dln_find_file(argv[0], getenv("PATH")); + script = dln_find_file(argv[0], getenv(PATH_ENV)); } if (!script) script = argv[0]; } |