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

* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-02-18 13:56:15 +00:00
parent 728fa4a661
commit 9c79e14614
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Feb 18 22:56:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/etc/etc.c (etc_getgrgid): missed to replace a macro.
Sun Feb 18 19:33:00 2007 Tadayoshi Funaba <tadf@dotrb.org>
* lib/date/format.rb: updated based on date2 4.0.3.

View file

@ -326,7 +326,7 @@ etc_getgrgid(int argc, VALUE *argv, VALUE obj)
rb_secure(4);
if (rb_scan_args(argc, argv, "01", &id) == 1) {
gid = PW_VAL2GID(id);
gid = NUM2GIDT(id);
}
else {
gid = getgid();