diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 05:51:07 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-04 05:51:07 +0000 |
| commit | c6f297912b7b6a12558278ff9385c70d4c7a3634 (patch) | |
| tree | a3549630b4b22d788c24cb981784ac0fb1772aba | |
| parent | 44308e441190cec367511811d89cc80861d077a7 (diff) | |
| download | ruby-c6f297912b7b6a12558278ff9385c70d4c7a3634.tar.gz ruby-c6f297912b7b6a12558278ff9385c70d4c7a3634.tar.xz ruby-c6f297912b7b6a12558278ff9385c70d4c7a3634.zip | |
* util.c (push_element): should return a int value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 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> * lib/set.rb (Set#^, Set#&): Correct documentation. Those methods @@ -305,7 +305,7 @@ struct PathInfo { int count; }; -static void +static int push_element(const char *path, VALUE vinfo) { struct PathList *p; @@ -317,6 +317,8 @@ push_element(const char *path, VALUE vinfo) p->next = info->head; info->head = p; info->count++; + + return 0; } #include <dirent.h> |
