wordexp: Fix the usage of the internal _itoa function
commitf664078e0fcd5988ef0acc124b1f52d2ce7be03c
authorSegev Finer <segev208@gmail.com>
Sat, 18 Aug 2018 17:21:08 +0000 (18 20:21 +0300)
committerWaldemar Brodkorb <wbrodkorb@conet.de>
Fri, 21 Sep 2018 01:42:08 +0000 (21 03:42 +0200)
tree98a2d87e6a06ae14021c5ded1838a408557a9c8b
parent85baf42330a75ffa55e75625b80e743780dcccbf
wordexp: Fix the usage of the internal _itoa function

The original from glibc received the end of the buffer and worked
backwards. Ours needs the beginning of the buffer.

Signed-off-by: Segev Finer <segev208@gmail.com>
libc/misc/wordexp/wordexp.c