This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6d827
)
Darwin's groups can have spaces in them
author
Josh ben Jore
<jjore@cpan.org>
Sun, 11 Oct 2009 05:36:52 +0000
(22:36 -0700)
committer
Josh ben Jore
<jjore@cpan.org>
Sun, 11 Oct 2009 05:36:52 +0000
(22:36 -0700)
t/op/groups.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/groups.t
b/t/op/groups.t
index
404b8cd
..
0ef15ad
100644
(file)
--- a/
t/op/groups.t
+++ b/
t/op/groups.t
@@
-137,7
+137,7
@@
for (split(' ', $()) {
print "# gr = @gr\n";
my %did;
-if ($^O =~ /^(?:uwin|cygwin|interix|solaris|linux)$/) {
+if ($^O =~ /^(?:uwin|cygwin|interix|solaris|linux
|darwin
)$/) {
# Or anybody else who can have spaces in group names.
$gr1 = join(' ', grep(!$did{$_}++, sort split(' ', join(' ', @gr))));
} else {