p4raw-id: //depot/perl@1827
@s = split /:/;
if (@s == 4) {
my ($name_s,$passwd_s,$gid_s,$members_s) = @s;
+ $members_s =~ s/ /,/g;
@n = getgrgid($gid_s);
# 'nogroup' et al.
next unless @n;
}
}
-$gr1 = join(' ', sort @gr);
+if ($^O eq "uwin") {
+ $gr1 = join(' ', grep(!$did{$_}++, sort split(' ', join(' ', @gr))));
+} else {
+ $gr1 = join(' ', sort @gr);
+}
$gr2 = join(' ', grep(!$basegroup{$_}++, sort split(' ',`$groups`)));