1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* util.c (push_element): avoid warning for djgpp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-04-24 12:06:57 +00:00
parent 9a9784015c
commit e07112e10d
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,8 @@ Wed Apr 24 14:21:41 2002 WATANABE Hirofumi <eban@ruby-lang.org>
* configure.in: set size of the initial stack from
2MB to 32MB on MinGW/Cygwin.
* util.c (push_element): avoid warning for djgpp.
Wed Apr 24 01:16:14 2002 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (create_makefile): should print depend file when

3
util.c
View file

@ -323,9 +323,10 @@ struct PathInfo {
};
static void
push_element(char *path, struct PathInfo *info)
push_element(const char *path, VALUE vinfo)
{
struct PathList *p;
struct PathInfo *info = (struct PathInfo *)vinfo;
p = ALLOC(struct PathList);
MEMZERO(p, struct PathList, 1);