Commit a76230b70f5f81c63fbb43debf8d690885537de4

Lasse Collin 2008-01-23T17:48:40

Don't rely on signed integer overflowing to negative value. * lib/getugroups.c (getugroups): Include <limits.h>. Instead, compare against INT_MAX, and increment only if the test passes.