mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14fe04bdac
commit
c67251edb4
23 changed files with 244 additions and 83 deletions
2
dir.c
2
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue