summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 17:51:20 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 17:51:20 +0000
commit52f59d78f28ac9fd3024e957b912125e936cd9fd (patch)
treee87d0bbfc5d7b569b74cc5b3dae3d389106405d3
parentcca26c22265e554723e5f91e9b90a190fdbe0bf2 (diff)
* file.c (fpath_check): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog2
-rw-r--r--file.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ea20112f4..c8df1e134f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@ Wed Sep 21 02:44:09 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (path_check_0): disallow sticky world writable directory
in PATH (and $LOAD_PATH). [ruby-dev:27226]
+ * file.c (fpath_check): typo fixed.
+
Tue Sep 20 22:29:49 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/wsdl/simpletype/rpc/test_rpc.rb, test/wsdl/ref/test_ref.rb,
diff --git a/file.c b/file.c
index e95751432c..e0d14e7bfa 100644
--- a/file.c
+++ b/file.c
@@ -3896,7 +3896,7 @@ fpath_check(path)
char *path;
{
#ifndef DOSISH
- return path_check_0(path, Qfalse);
+ return path_check_0(rb_str_new2(path), Qfalse);
#else
return 1;
#endif