Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-05-08 12:44:07 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-05-08 12:44:07 +0400
commita5a75a5a98a561e03c577c2faba7040c55d8161d (patch)
tree98fb983e3afb1f3c0a2cf6d38b44f53cdfd32381 /winsup/cygwin/grp.cc
parent03039d4fc21d7fd37bf3552100f383bc0671c947 (diff)
* grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing
an endless loop.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r--winsup/cygwin/grp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index 3ccdbee0f..43cae6dc4 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -364,7 +364,7 @@ gr_ent::enumerate_caches ()
return &grf.group ()[cnt++].g;
}
cnt = 0;
- max = 1;
+ max = 2;
/*FALLTHRU*/
case 2:
if (from_db)