i should be pre-incremented in the loop maintenance code or else
commitb28db11e49fe36800cf4a968b1fc6027a733e94c
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sat, 27 Jan 2007 14:14:13 +0000 (27 14:14 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sat, 27 Jan 2007 14:14:13 +0000 (27 14:14 +0000)
treea7547f2ef4f8234c01bb86dcc536937851603cd4
parentdb9c7b21b25dadd4081889cbc8d3ca6948559815
i should be pre-incremented in the loop maintenance code or else
cp is assigned one element earlier than expected.  Convert the loop
to a simpler form.
sys/kern/kern_environment.c