* grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing
an endless loop.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2014-05-08  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* grp.cc (gr_ent::enumerate_caches): Fix copy/paste bug introducing | ||||
| 	an endless loop. | ||||
|  | ||||
| 2014-05-07  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* passwd.cc (pwdgrp::parse_passwd): Fix an off by one computing the | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user