]> granicus.if.org Git - shadow/commit
pwconv and grpconv: rewind after deleting an entry
authorSerge Hallyn <shallyn@cisco.com>
Sun, 25 Mar 2018 14:18:22 +0000 (09:18 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Sun, 25 Mar 2018 14:18:22 +0000 (09:18 -0500)
commit45b41875968042a41fcebf575762c3b493a146b4
tree992f6d09bfe1945da3a97f719124ed74e9dc6e36
parent44c63795a748419d29c4e912e426edf00e86a9e3
pwconv and grpconv: rewind after deleting an entry

Otherwise our spw_next() will cause us to skip an entry.
Ideally we'd be able to do an swp_rewind(1), but I don't
see a helper for this.

Closes #60

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
src/grpconv.c
src/pwconv.c