readlink,realpath: fix a case with a symplink, closes 11021
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 13 Jun 2019 15:08:29 +0000 (17:08 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 13 Jun 2019 15:09:05 +0000 (17:09 +0200)
commit070aa6174728d35077d98e875717358ccfbf2870
treebbbecadc99d4619b3e45a0e2b90242465fc22974
parent84d38500a7f7cf961ea0cf075c372f0a48b2f1f8
readlink,realpath: fix a case with a symplink, closes 11021

function                                             old     new   delta
xmalloc_realpath_coreutils                           125     201     +76

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/xreadlink.c