cvs commit: src/usr.bin/id id.c

Robert Drehmel robert at FreeBSD.org
Thu Apr 28 09:11:38 PDT 2005


robert      2005-04-28 16:11:37 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/id           id.c 
  Log:
  We need to pass NGROUPS + 1 to getgrouplist(3) to display
  NGROUPS groups.  getgrouplist(3) may put a duplicate group
  id into the passed array (it sets [0] and [1] to the value
  of the gid argument), but id_print() sorts them out.
  
  Revision  Changes    Path
  1.25      +1 -1      src/usr.bin/id/id.c


More information about the cvs-src mailing list