summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_execute.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:16:22 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commitf3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc (patch)
treeaa015f7118ab335f16c820e9b814d83884a06e21 /src/logic/slbt_exec_execute.c
parent8dc63ddc326ec54709c580a400536fcc4ef62622 (diff)
downloadslibtool-f3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc.tar.bz2
slibtool-f3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc.tar.xz
library api's: _ectx_ (command execution context) namespace overhaul.
Diffstat (limited to 'src/logic/slbt_exec_execute.c')
-rw-r--r--src/logic/slbt_exec_execute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logic/slbt_exec_execute.c b/src/logic/slbt_exec_execute.c
index 84cd282..c9426ab 100644
--- a/src/logic/slbt_exec_execute.c
+++ b/src/logic/slbt_exec_execute.c
@@ -38,7 +38,7 @@ int slbt_exec_execute(
/* context */
if (ectx)
slbt_disable_placeholders(ectx);
- else if ((ret = slbt_get_exec_ctx(dctx,&ectx)))
+ else if ((ret = slbt_ectx_get_exec_ctx(dctx,&ectx)))
return ret;
else {
actx = ectx;
@@ -64,7 +64,7 @@ int slbt_exec_execute(
if (slbt_snprintf(wrapper,sizeof(wrapper),
"%s.exe.wrapper",
exeref) < 0) {
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return SLBT_BUFFER_ERROR(dctx);
}
@@ -91,12 +91,12 @@ int slbt_exec_execute(
/* step output */
if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT))
if (slbt_output_execute(dctx,ectx)) {
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return SLBT_NESTED_ERROR(dctx);
}
execvp(ectx->cargv[0],ectx->argv);
- slbt_free_exec_ctx(actx);
+ slbt_ectx_free_exec_ctx(actx);
return SLBT_SYSTEM_ERROR(dctx,0);
}