diff options
author | midipix <writeonce@midipix.org> | 2024-02-20 17:29:18 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-20 17:29:18 +0000 |
commit | 33a569a279a1c0acbf06fe6622866bd79f111685 (patch) | |
tree | 0fafd5353e258d17b127bbd468076ee0150cc609 /src/logic | |
parent | d577a3308c18cb3b8d5fc46fc5fcf8a8fb8ad1a5 (diff) | |
download | slibtool-33a569a279a1c0acbf06fe6622866bd79f111685.tar.bz2 slibtool-33a569a279a1c0acbf06fe6622866bd79f111685.tar.xz |
utility api's: _output_ namespace: simplified the execution context interfaces.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_archive.c | 2 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_dsolib.c | 2 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_executable.c | 2 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_implib.c | 2 | ||||
-rw-r--r-- | src/logic/slbt_exec_compile.c | 4 | ||||
-rw-r--r-- | src/logic/slbt_exec_execute.c | 2 | ||||
-rw-r--r-- | src/logic/slbt_exec_install.c | 8 | ||||
-rw-r--r-- | src/logic/slbt_exec_uninstall.c | 2 |
8 files changed, 12 insertions, 12 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_archive.c b/src/logic/linkcmd/slbt_linkcmd_archive.c index 13abb9f..f7ddc5c 100644 --- a/src/logic/linkcmd/slbt_linkcmd_archive.c +++ b/src/logic/linkcmd/slbt_linkcmd_archive.c @@ -139,7 +139,7 @@ slbt_hidden int slbt_exec_link_create_archive( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_link(dctx,ectx)) + if (slbt_output_link(ectx)) return SLBT_NESTED_ERROR(dctx); /* remove old archive as needed */ diff --git a/src/logic/linkcmd/slbt_linkcmd_dsolib.c b/src/logic/linkcmd/slbt_linkcmd_dsolib.c index ac36f06..38ecbd3 100644 --- a/src/logic/linkcmd/slbt_linkcmd_dsolib.c +++ b/src/logic/linkcmd/slbt_linkcmd_dsolib.c @@ -263,7 +263,7 @@ slbt_hidden int slbt_exec_link_create_library( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_link(dctx,ectx)) + if (slbt_output_link(ectx)) return slbt_linkcmd_exit( &depsmeta, SLBT_NESTED_ERROR(dctx)); diff --git a/src/logic/linkcmd/slbt_linkcmd_executable.c b/src/logic/linkcmd/slbt_linkcmd_executable.c index fb77acf..bb23701 100644 --- a/src/logic/linkcmd/slbt_linkcmd_executable.c +++ b/src/logic/linkcmd/slbt_linkcmd_executable.c @@ -228,7 +228,7 @@ slbt_hidden int slbt_exec_link_create_executable( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_link(dctx,ectx)) + if (slbt_output_link(ectx)) return slbt_linkcmd_exit( &depsmeta, SLBT_NESTED_ERROR(dctx)); diff --git a/src/logic/linkcmd/slbt_linkcmd_implib.c b/src/logic/linkcmd/slbt_linkcmd_implib.c index 810ff10..a9467a3 100644 --- a/src/logic/linkcmd/slbt_linkcmd_implib.c +++ b/src/logic/linkcmd/slbt_linkcmd_implib.c @@ -140,7 +140,7 @@ slbt_hidden int slbt_exec_link_create_import_library( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_link(dctx,ectx)) + if (slbt_output_link(ectx)) return SLBT_NESTED_ERROR(dctx); /* dlltool/mdso spawn */ diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c index d651607..8c5e870 100644 --- a/src/logic/slbt_exec_compile.c +++ b/src/logic/slbt_exec_compile.c @@ -230,7 +230,7 @@ int slbt_exec_compile( return SLBT_NESTED_ERROR(dctx); if (!(cctx->drvflags & SLBT_DRIVER_SILENT)) { - if (slbt_output_compile(dctx,ectx)) { + if (slbt_output_compile(ectx)) { slbt_ectx_free_exec_ctx(actx); return SLBT_NESTED_ERROR(dctx); } @@ -265,7 +265,7 @@ int slbt_exec_compile( return SLBT_NESTED_ERROR(dctx); if (!(cctx->drvflags & SLBT_DRIVER_SILENT)) { - if (slbt_output_compile(dctx,ectx)) { + if (slbt_output_compile(ectx)) { slbt_ectx_free_exec_ctx(actx); return SLBT_NESTED_ERROR(dctx); } diff --git a/src/logic/slbt_exec_execute.c b/src/logic/slbt_exec_execute.c index c9426ab..ec627b1 100644 --- a/src/logic/slbt_exec_execute.c +++ b/src/logic/slbt_exec_execute.c @@ -90,7 +90,7 @@ int slbt_exec_execute( /* step output */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_execute(dctx,ectx)) { + if (slbt_output_execute(ectx)) { slbt_ectx_free_exec_ctx(actx); return SLBT_NESTED_ERROR(dctx); } diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index dc311f8..3677f12 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -397,7 +397,7 @@ static int slbt_exec_install_entry( *dst = dest ? 0 : (char *)last->arg; if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_install(dctx,ectx)) + if (slbt_output_install(ectx)) return SLBT_NESTED_ERROR(dctx); if ((slbt_spawn(ectx,true) < 0) && (ectx->pid < 0)) { @@ -586,7 +586,7 @@ static int slbt_exec_install_entry( *dst = dest ? 0 : dstfile; if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_install(dctx,ectx)) + if (slbt_output_install(ectx)) return SLBT_NESTED_ERROR(dctx); if ((slbt_spawn(ectx,true) < 0) && (ectx->pid < 0)) { @@ -616,7 +616,7 @@ static int slbt_exec_install_entry( *dst = dest ? 0 : dstfile; if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_install(dctx,ectx)) + if (slbt_output_install(ectx)) return SLBT_NESTED_ERROR(dctx); if ((slbt_spawn(ectx,true) < 0) && (ectx->pid < 0)) { @@ -901,7 +901,7 @@ int slbt_exec_install( /* spawn */ if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_install(dctx,ectx)) + if (slbt_output_install(ectx)) return SLBT_NESTED_ERROR(dctx); if ((slbt_spawn(ectx,true) < 0) && (ectx->pid < 0)) { diff --git a/src/logic/slbt_exec_uninstall.c b/src/logic/slbt_exec_uninstall.c index 8dec7cf..7c990bc 100644 --- a/src/logic/slbt_exec_uninstall.c +++ b/src/logic/slbt_exec_uninstall.c @@ -84,7 +84,7 @@ static int slbt_exec_uninstall_fs_entry( *parg = path; if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) - if (slbt_output_uninstall(dctx,ectx)) + if (slbt_output_uninstall(ectx)) return SLBT_NESTED_ERROR(dctx); /* directory? */ |