summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-01 05:33:14 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-01 05:33:14 +0000
commitd9aad7f7caf6c1d42b8e71a2a04bfca6447d2827 (patch)
treedccc6636377483116741f280578188f0a4360f81 /mg.c
parent57b2e4523f4df782c055782388ac1aacff9603ef (diff)
parentd132b95fb004c5e3d94e297d3804c90cfef96fed (diff)
downloadperl-d9aad7f7caf6c1d42b8e71a2a04bfca6447d2827.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@4606
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mg.c b/mg.c
index 0ea3560134..d2305311cb 100644
--- a/mg.c
+++ b/mg.c
@@ -665,11 +665,15 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg)
break;
case '(':
sv_setiv(sv, (IV)PL_gid);
+#ifdef HAS_GETGROUPS
Perl_sv_setpvf(aTHX_ sv, "%"Gid_t_f, PL_gid);
+#endif
goto add_groups;
case ')':
sv_setiv(sv, (IV)PL_egid);
+#ifdef HAS_GETGROUPS
Perl_sv_setpvf(aTHX_ sv, "%"Gid_t_f, PL_egid);
+#endif
add_groups:
#ifdef HAS_GETGROUPS
{