From: Corinna Vinschen <[email protected]>

As outlined in the thread starting at
https://cygwin.com/pipermail/cygwin/2025-December/259055.html,
newgrp(1) didn't allow numerical group IDs.  While this is in line with
the shadow-utils version of newgrp(1), it's not what POSIX allows.
Fix up the code and the documentation to be more in line with POSIX.

Corinna Vinschen (3):
  Cygwin: newgrp(1): improve POSIX compatibility
  Cygwin: doc: utils.xml: improve newgrp(1) documentation
  Cygwin: add release note for newgrp(1) fixes

 winsup/cygwin/release/3.6.6 |  3 +++
 winsup/doc/utils.xml        | 27 ++++++++++++++++-----------
 winsup/utils/newgrp.c       | 30 ++++++++++++++++++++----------
 3 files changed, 39 insertions(+), 21 deletions(-)

-- 
2.52.0

Reply via email to