* 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:
parent
728fa4a661
commit
9c79e14614
@ -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>
|
Sun Feb 18 19:33:00 2007 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* lib/date/format.rb: updated based on date2 4.0.3.
|
* lib/date/format.rb: updated based on date2 4.0.3.
|
||||||
|
@ -326,7 +326,7 @@ etc_getgrgid(int argc, VALUE *argv, VALUE obj)
|
|||||||
|
|
||||||
rb_secure(4);
|
rb_secure(4);
|
||||||
if (rb_scan_args(argc, argv, "01", &id) == 1) {
|
if (rb_scan_args(argc, argv, "01", &id) == 1) {
|
||||||
gid = PW_VAL2GID(id);
|
gid = NUM2GIDT(id);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
gid = getgid();
|
gid = getgid();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user