mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* util.c (push_element): should return a int value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ebba0b4340
commit
35fadee53d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Mar 4 14:46:56 2007 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* util.c (push_element): should return a int value.
|
||||||
|
|
||||||
Sun Mar 4 01:01:25 2007 Akinori MUSHA <knu@iDaemons.org>
|
Sun Mar 4 01:01:25 2007 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* lib/set.rb (Set#^, Set#&): Correct documentation. Those methods
|
* lib/set.rb (Set#^, Set#&): Correct documentation. Those methods
|
||||||
|
|
4
util.c
4
util.c
|
@ -305,7 +305,7 @@ struct PathInfo {
|
||||||
int count;
|
int count;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static int
|
||||||
push_element(const char *path, VALUE vinfo)
|
push_element(const char *path, VALUE vinfo)
|
||||||
{
|
{
|
||||||
struct PathList *p;
|
struct PathList *p;
|
||||||
|
@ -317,6 +317,8 @@ push_element(const char *path, VALUE vinfo)
|
||||||
p->next = info->head;
|
p->next = info->head;
|
||||||
info->head = p;
|
info->head = p;
|
||||||
info->count++;
|
info->count++;
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue