aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 13:27:14 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 13:27:14 +0000
commitce062c154587e75d577722cfeac33c68ed17ebe5 (patch)
tree771f0f3dae0b2369163ee836101d81383da5afe2
parent006f72e9209d29b564a7ba95bf1f100f1cabf331 (diff)
downloadruby-ce062c154587e75d577722cfeac33c68ed17ebe5.tar.gz
* 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
-rw-r--r--ChangeLog8
-rw-r--r--configure.in1
-rw-r--r--util.c2
3 files changed, 10 insertions, 1 deletions
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 <eban@ruby-lang.org>
+
+ * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
+
+Tue Feb 27 21:33:04 2007 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * configure.in (ac_cv_func_setrlimit): workaround for djgpp.
+
Tue Feb 27 20:35:28 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* 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);