From ce062c154587e75d577722cfeac33c68ed17ebe5 Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 27 Feb 2007 13:27:14 +0000 Subject: [PATCH] * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi(). * configure.in (ac_cv_func_setrlimit): workaround for djgpp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ configure.in | 1 + util.c | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 35cf986dfd..9071025693 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Tue Feb 27 21:36:47 2007 WATANABE Hirofumi + + * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi(). + +Tue Feb 27 21:33:04 2007 WATANABE Hirofumi + + * configure.in (ac_cv_func_setrlimit): workaround for djgpp. + Tue Feb 27 20:35:28 2007 NAKAMURA Usaku * common.mk (error.c, process.c): depend on yarvcore.h and rubysig.h. diff --git a/configure.in b/configure.in index 46f5af352a..323e6e4f88 100644 --- a/configure.in +++ b/configure.in @@ -435,6 +435,7 @@ msdosdjgpp*) LIBS="-lm $LIBS" ac_cv_func_setitimer=no ac_cv_sizeof_rlim_t=4 ac_cv_func_fork=no + ac_cv_func_setrlimit=no ;; bsdi*) LIBS="-lm $LIBS" ac_cv_sizeof_rlim_t=8;; diff --git a/util.c b/util.c index 6c16aaed43..c949a98e6e 100644 --- a/util.c +++ b/util.c @@ -347,7 +347,7 @@ __crt0_glob_function(char *path) info.count = 0; info.head = 0; - rb_glob(buf, push_element, (VALUE)&info); + ruby_glob(buf, 0, push_element, (VALUE)&info); if (buf != path_buffer) ruby_xfree(buf);