diff options
author | midipix <writeonce@midipix.org> | 2016-09-02 16:21:11 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-09-03 23:23:30 -0400 |
commit | 2a6c451dc80e84e0948dfbec73e54fb09426c867 (patch) | |
tree | 7490ab89d45174ad704a4224f7a68cfead395dc8 /src | |
parent | 42595b7487283f3a069ded8eb45876f30663fbd0 (diff) | |
download | slibtool-2a6c451dc80e84e0948dfbec73e54fb09426c867.tar.bz2 slibtool-2a6c451dc80e84e0948dfbec73e54fb09426c867.tar.xz |
execution context: added error trace support.
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/slbt_exec_ctx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c index cc5e9b6..f1b6b75 100644 --- a/src/logic/slbt_exec_ctx.c +++ b/src/logic/slbt_exec_ctx.c @@ -10,6 +10,7 @@ #include <string.h> #include <slibtool/slibtool.h> +#include "slibtool_errinfo_impl.h" #define SLBT_ARGV_SPARE_PTRS 16 @@ -154,7 +155,7 @@ int slbt_get_exec_ctx( /* alloc */ if (!(ictx = slbt_exec_ctx_alloc(dctx))) - return -1; + return SLBT_NESTED_ERROR(dctx); /* init with guard for later .lo check */ ch = ictx->args + strlen(".lo"); |