Andrew Gunnerson 70b7d73453 utils/cpio.c: Fix off-by-one error in cpio_vec_insert
Previously, if `cpio_vec_insert()` needed to replace a file and the file
already exists as the first entry, then a duplicate entry would get
created.

This fixes the bug I reported at:
https://forum.xda-developers.com/showpost.php?p=75449768&postcount=22647

Signed-off-by: Andrew Gunnerson <andrewgunnerson@gmail.com>
2018-02-11 18:50:42 +08:00
..
2018-02-11 18:50:42 +08:00
2018-02-06 05:52:25 +08:00
2018-02-11 18:50:42 +08:00
2018-02-11 18:50:42 +08:00
2018-01-27 09:11:28 +08:00
2018-01-27 09:11:28 +08:00
2018-01-29 15:34:05 +08:00
2018-02-10 19:54:58 +08:00
2018-01-27 09:11:28 +08:00