Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 10:11:18 +0000 (UTC)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/id id.c
Message-ID:  <200504291011.j3TABIaM036367@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
robert      2005-04-29 10:11:18 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/id           id.c 
  Log:
  Add flag to choose whether to use getgrouplist(3) or getgroups(2)
  to the id_print() function.
  
  Use getgrouplist(3) for the case when an user was specified,
  and getgroups(2) when no user was given.
  That reverts to the expected behaviour and makes it easy to
  implement an option later to force using getgrouplist(3).
  
  Revision  Changes    Path
  1.26      +11 -6     src/usr.bin/id/id.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504291011.j3TABIaM036367>