Fix `getgroups' for when zero supplementary group IDs exist.
authorLudovic Courtès <ludo@gnu.org>
Sat, 16 Feb 2013 17:40:39 +0000 (18:40 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 16 Feb 2013 17:41:15 +0000 (18:41 +0100)
commit3d2b2676e3fc0a5b243b8a4188d07bba1b4b40a4
treed6a74695a759f5a82fefb8afcac8b737d843718a
parent91c763ee3f195dc0e26339608da01250d6924009
Fix `getgroups' for when zero supplementary group IDs exist.

* libguile/posix.c (scm_getgroups): Return the empty vector when NGROUPS
  is zero.  Reported by Mike Gran <spk121@yahoo.com>.
libguile/posix.c