summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_lconf_impl.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 03:31:04 +0000
committermidipix <writeonce@midipix.org>2024-02-19 03:43:05 +0000
commitd4b2a5603d628ed00a764cb526df02e3a382a0c1 (patch)
tree6a0ef37030e7a96c2ed5fcb691f165ad3b7d2505 /src/internal/slibtool_lconf_impl.c
parent81e06363fd5be411ff34013f1024664f68f66a12 (diff)
downloadslibtool-d4b2a5603d628ed00a764cb526df02e3a382a0c1.tar.bz2
slibtool-d4b2a5603d628ed00a764cb526df02e3a382a0c1.tar.xz
slbt_util_real_path(): rewrite as a wrapper around an internal slbt_realpath().
Diffstat (limited to 'src/internal/slibtool_lconf_impl.c')
-rw-r--r--src/internal/slibtool_lconf_impl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c
index 82904d2..298cb12 100644
--- a/src/internal/slibtool_lconf_impl.c
+++ b/src/internal/slibtool_lconf_impl.c
@@ -18,6 +18,7 @@
#include "slibtool_errinfo_impl.h"
#include "slibtool_symlink_impl.h"
#include "slibtool_readlink_impl.h"
+#include "slibtool_realpath_impl.h"
#include "slibtool_visibility_impl.h"
enum slbt_lconf_opt {
@@ -387,7 +388,7 @@ static int slbt_lconf_trace_result_plain(
fderr = slbt_driver_fderr(dctx);
- cpath = !(slbt_util_real_path(fdat,lconf,0,path,sizeof(path)))
+ cpath = !(slbt_realpath(fdat,lconf,0,path,sizeof(path)))
? path : lconf;
switch (err) {
@@ -435,7 +436,7 @@ static int slbt_lconf_trace_result_annotated(
fderr = slbt_driver_fderr(dctx);
- cpath = !(slbt_util_real_path(fdat,lconf,0,path,sizeof(path)))
+ cpath = !(slbt_realpath(fdat,lconf,0,path,sizeof(path)))
? path : lconf;
switch (err) {