aboutsummaryrefslogtreecommitdiff
path: root/coreutils/realpath.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-05-24 17:29:14 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-05-24 17:31:00 +0200
commit747162109fb1c891baf6aafa1ca0410bd08d04a4 (patch)
tree7215b1a5b94212e207b9c3d7c1426e65c2ce0553 /coreutils/realpath.c
parent3f91e662f21083d4febf74fa89ccc50e406cbf6c (diff)
downloadbusybox-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/realpath.c')
-rw-r--r--coreutils/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/realpath.c b/coreutils/realpath.c
index aa878fcd2..43923681c 100644
--- a/coreutils/realpath.c
+++ b/coreutils/realpath.c
@@ -38,7 +38,7 @@ int realpath_main(int argc UNUSED_PARAM, char **argv)
38 38
39 do { 39 do {
40 /* NOFORK: only one alloc is allowed; must free */ 40 /* NOFORK: only one alloc is allowed; must free */
41 char *resolved_path = xmalloc_realpath(*argv); 41 char *resolved_path = xmalloc_realpath_coreutils(*argv);
42 if (resolved_path != NULL) { 42 if (resolved_path != NULL) {
43 puts(resolved_path); 43 puts(resolved_path);
44 free(resolved_path); 44 free(resolved_path);