summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-13 22:43:35 -0400
committermidipix <writeonce@midipix.org>2018-08-13 22:43:35 -0400
commit267766528f3196c8de23613c7896246d745db4e5 (patch)
treee928f4f4217ceaac2b64ac877abfeb267f3e436d /src/logic
parent38b3514b25ab8325a00db59b5e3812f284d1e10a (diff)
downloadslibtool-267766528f3196c8de23613c7896246d745db4e5.tar.bz2
slibtool-267766528f3196c8de23613c7896246d745db4e5.tar.xz
internals: slbt_mkdir() now uses the context's fdcwd.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_compile.c2
-rw-r--r--src/logic/slbt_exec_link.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 1c84734..54ce743 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -57,7 +57,7 @@ int slbt_exec_compile(
/* .libs directory */
if (cctx->drvflags & SLBT_DRIVER_SHARED)
- if (slbt_mkdir(ectx->ldirname)) {
+ if (slbt_mkdir(dctx,ectx->ldirname)) {
slbt_free_exec_ctx(actx);
return SLBT_SYSTEM_ERROR(dctx);
}
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 2f97c32..8461bcb 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -1659,7 +1659,7 @@ int slbt_exec_link(
dot = strrchr(output,'.');
/* .libs directory */
- if (slbt_mkdir(ectx->ldirname)) {
+ if (slbt_mkdir(dctx,ectx->ldirname)) {
slbt_free_exec_ctx(actx);
return SLBT_SYSTEM_ERROR(dctx);
}