summaryrefslogtreecommitdiff
path: root/src/output/slbt_output_exec.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-20 23:09:31 +0000
committermidipix <writeonce@midipix.org>2020-12-20 23:09:31 +0000
commit6beda1bcee4396ceced99b8a8c5627940f507ace (patch)
tree9f4d796da9415af666aa8485b653e21a6cb4d6e2 /src/output/slbt_output_exec.c
parent56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0 (diff)
downloadslibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.bz2
slibtool-6beda1bcee4396ceced99b8a8c5627940f507ace.tar.xz
internals: error tracing: record the not-found path upon ENOENT as needed.
Diffstat (limited to 'src/output/slbt_output_exec.c')
-rw-r--r--src/output/slbt_output_exec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index f1d06ed..6adceb6 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -38,7 +38,7 @@ static int slbt_output_exec_annotated(
aclr_bold,aclr_magenta,
dctx->program,aclr_reset,
aclr_bold,aclr_green,step,aclr_reset) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
for (parg=ectx->argv; *parg; parg++) {
if ((parg == ectx->lout[0]) || (parg == ectx->mout[0])) {
@@ -56,12 +56,12 @@ static int slbt_output_exec_annotated(
aclr_set,aclr_color,
*parg,
aclr_unset) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
}
if (slbt_dprintf(fdout,"\n") < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
return 0;
}
@@ -77,14 +77,14 @@ static int slbt_output_exec_plain(
fdout = slbt_driver_fdout(dctx);
if (slbt_dprintf(fdout,"%s: %s:",dctx->program,step) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
for (parg=ectx->argv; *parg; parg++)
if (slbt_dprintf(fdout," %s",*parg) < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
if (slbt_dprintf(fdout,"\n") < 0)
- return SLBT_SYSTEM_ERROR(dctx);
+ return SLBT_SYSTEM_ERROR(dctx,0);
return 0;
}