mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
006f72e920
commit
ce062c1545
3 changed files with 10 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;;
|
||||
|
|
2
util.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue