From 031e40b61d2cdb4c8aac9456e08cec9bb8729fdc Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 7 Aug 2000 05:05:04 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') 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); -- cgit