summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-27 04:39:01 +0000
committermidipix <writeonce@midipix.org>2024-02-27 04:39:01 +0000
commit503f2f8123c560cab69786935d8ba42e77f8f2c0 (patch)
treeb0e5fd0c21c5f6af02ea1d818ad00c64bc9ecad2 /src
parentfb4fd09ef301e839b998cd3b0c1384119aa0ed0c (diff)
downloadslibtool-503f2f8123c560cab69786935d8ba42e77f8f2c0.tar.bz2
slibtool-503f2f8123c560cab69786935d8ba42e77f8f2c0.tar.xz
slbt_lconf_open(): unless in debug mode, silence oepnat()/fstat() trace msgs.
Diffstat (limited to 'src')
-rw-r--r--src/internal/slibtool_lconf_impl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c
index b96e4f9..b41d8e9 100644
--- a/src/internal/slibtool_lconf_impl.c
+++ b/src/internal/slibtool_lconf_impl.c
@@ -575,6 +575,11 @@ static int slbt_lconf_open(
trace_result = slbt_lconf_trace_result_plain;
}
+ if (!(dctx->cctx->drvflags & SLBT_DRIVER_DEBUG)) {
+ trace_fstat = slbt_lconf_trace_fstat_silent;
+ trace_openat = slbt_lconf_trace_openat_silent;
+ }
+
if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) {
trace_lconf(dctx,lconf);
slbt_output_fdcwd(dctx);