diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-05-24 17:29:14 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-05-24 17:31:00 +0200 |
commit | 747162109fb1c891baf6aafa1ca0410bd08d04a4 (patch) | |
tree | 7215b1a5b94212e207b9c3d7c1426e65c2ce0553 /coreutils/readlink.c | |
parent | 3f91e662f21083d4febf74fa89ccc50e406cbf6c (diff) | |
download | busybox-w32-747162109fb1c891baf6aafa1ca0410bd08d04a4.tar.gz busybox-w32-747162109fb1c891baf6aafa1ca0410bd08d04a4.tar.bz2 busybox-w32-747162109fb1c891baf6aafa1ca0410bd08d04a4.zip |
realpath,readlink -f: coreutils compat, closes 11021
function old new delta
xmalloc_realpath_coreutils - 121 +121
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/readlink.c')
-rw-r--r-- | coreutils/readlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/readlink.c b/coreutils/readlink.c index b8e327d11..49361cea0 100644 --- a/coreutils/readlink.c +++ b/coreutils/readlink.c | |||
@@ -86,7 +86,7 @@ int readlink_main(int argc UNUSED_PARAM, char **argv) | |||
86 | 86 | ||
87 | /* NOFORK: only one alloc is allowed; must free */ | 87 | /* NOFORK: only one alloc is allowed; must free */ |
88 | if (opt & 1) { /* -f */ | 88 | if (opt & 1) { /* -f */ |
89 | buf = xmalloc_realpath(fname); | 89 | buf = xmalloc_realpath_coreutils(fname); |
90 | } else { | 90 | } else { |
91 | buf = xmalloc_readlink_or_warn(fname); | 91 | buf = xmalloc_readlink_or_warn(fname); |
92 | } | 92 | } |