summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al')
-rwxr-xr-xMaster/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al b/Master/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al
new file mode 100755
index 00000000000..95dca454d01
--- /dev/null
+++ b/Master/tlpkg/tlperl.straw/lib/auto/POSIX/getgroups.al
@@ -0,0 +1,14 @@
+# NOTE: Derived from ..\..\lib\POSIX.pm.
+# Changes made here will be lost when autosplit is run again.
+# See AutoSplit.pm.
+package POSIX;
+
+#line 690 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\getgroups.al)"
+sub getgroups {
+ usage "getgroups()" if @_ != 0;
+ my %seen;
+ grep(!$seen{$_}++, split(' ', $) ));
+}
+
+# end of POSIX::getgroups
+1;