CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2009/06/06 21:52:54
Modified files: lib/libc/gen : getgrent.c Log message: de-spaghetti: If code is used from exactly one place, don't jump back dozens of lines to reach it, only to "goto" back where you came from. Instead, simply put the code where it belongs. Also fixes a regression that crept in in rev. 1.30: After clearing the variable __ypmode, don't try to make decisions based on its former value. As a bonus, garbage collect the grname variable and the _ypmode enum type. ok millert@