summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-10-28 13:49:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-10-28 13:49:26 +0000
commit785fb66b9a3cb438ed213406a1dec3f5257fd014 (patch)
tree95b868329716f71cd7d0c2ab13b68d8e2f85fb41 /mg.c
parent51c79822f63da24f84368a1ef0bb5bdfde34872c (diff)
downloadperl-785fb66b9a3cb438ed213406a1dec3f5257fd014.tar.gz
Fix printing of uids and gids; regen Configure.
p4raw-id: //depot/cfgperl@4480
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mg.c b/mg.c
index 4cbe0df113..eed84f8ed6 100644
--- a/mg.c
+++ b/mg.c
@@ -656,18 +656,18 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
break;
case '(':
sv_setiv(sv, (IV)PL_gid);
- Perl_sv_setpvf(aTHX_ sv, "%Vd", (IV)PL_gid);
+ Perl_sv_setpvf(aTHX_ sv, "%"Gid_t_f, PL_gid);
goto add_groups;
case ')':
sv_setiv(sv, (IV)PL_egid);
- Perl_sv_setpvf(aTHX_ sv, "%Vd", (IV)PL_egid);
+ Perl_sv_setpvf(aTHX_ sv, "%"Gid_t_f, PL_egid);
add_groups:
#ifdef HAS_GETGROUPS
{
Groups_t gary[NGROUPS];
i = getgroups(NGROUPS,gary);
while (--i >= 0)
- Perl_sv_catpvf(aTHX_ sv, " %Vd", (IV)gary[i]);
+ Perl_sv_catpvf(aTHX_ sv, " %"Gid_t_f, gary[i]);
}
#endif
SvIOK_on(sv); /* what a wonderful hack! */