Hietaniemi)
p4raw-id: //depot/perl@1906
@s = split /:/;
if (@s == 4) {
my ($name_s,$passwd_s,$gid_s,$members_s) = @s;
- $members_s =~ s/ /,/g;
+ $members_s =~ s/\s*,\s*/,/g;
@n = getgrgid($gid_s);
# 'nogroup' et al.
next unless @n;
($name,$passwd,$gid,$members) = @n;
next if $name_s ne $name;
}
- $members =~ s/ /,/g;
+ $members =~ s/\s+/,/g;
$not = 1, last
if $name ne $name_s or
# Shadow passwords confuse this.