diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | util.c | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Mar 4 23:19:00 2007 WATANABE Hirofumi <eban@ruby-lang.org> + + * util.c (push_element): should return a int value. + Sun Mar 4 01:06:55 2007 Akinori MUSHA <knu@iDaemons.org> * lib/set.rb (Set#^, Set#&): Correct documentation. Those methods @@ -316,7 +316,7 @@ struct PathInfo { int count; }; -static void +static int push_element(const char *path, VALUE vinfo) { struct PathList *p; @@ -328,6 +328,8 @@ push_element(const char *path, VALUE vinfo) p->next = info->head; info->head = p; info->count++; + + return 0; } #include <dirent.h> |