librt: fix path parsing in __spawni()
commitc61570ac32f052e050c46838ea5ab60de5836f8e
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Tue, 9 Aug 2016 16:48:47 +0000 (9 18:48 +0200)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 10 Aug 2016 16:39:15 +0000 (10 18:39 +0200)
treed627921b38b662b82e8c388ec1c0b4c24f1ed2e5
parentbbd7151f7980c7d075fe652331f01d3aadc73e42
librt: fix path parsing in __spawni()

__spawni() loops forever when parsing the path variable due to incorrect
pointer update. This patch fixes the issue.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
librt/spawn.c