summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-07 05:05:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-07 05:05:04 +0000
commit031e40b61d2cdb4c8aac9456e08cec9bb8729fdc (patch)
tree81d59bfb40b0efc64b3acfc9cbe4dd7d3628af85 /dir.c
parent348746f66f9df54f66f83478093a6189f5d140df (diff)
downloadruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.tar.gz
ruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.tar.xz
ruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.zip
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 677250adb..d5267a86e 100644
--- a/dir.c
+++ b/dir.c
@@ -433,7 +433,7 @@ static VALUE
dir_s_chroot(dir, path)
VALUE dir, path;
{
-#if !defined(DJGPP) && !defined(NT) && !defined(__human68k__) && !defined(__BEOS__) && !defined(__EMX__) && !defined(riscos)
+#if defined(HAVE_CHROOT) && !defined(__CHECKER__)
rb_secure(2);
Check_SafeStr(path);