summaryrefslogtreecommitdiff
path: root/src/libexecline/el_substandrun_str.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-25 00:01:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-25 00:01:25 +0000
commitd4ed432960c1bf54de426bdb53825c1c1b32112e (patch)
tree56d60d455db64cb63694edcd4525298a506175d7 /src/libexecline/el_substandrun_str.c
parent02fa8ea0993971a90b0f8d11b882af1e6a86c273 (diff)
downloadexecline-d4ed432960c1bf54de426bdb53825c1c1b32112e.tar.xz
Port to skalibs-2.9.4.0
Diffstat (limited to 'src/libexecline/el_substandrun_str.c')
-rw-r--r--src/libexecline/el_substandrun_str.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libexecline/el_substandrun_str.c b/src/libexecline/el_substandrun_str.c
index 3f6b8e3..5786bc6 100644
--- a/src/libexecline/el_substandrun_str.c
+++ b/src/libexecline/el_substandrun_str.c
@@ -1,11 +1,13 @@
/* ISC license. */
#include <unistd.h>
-#include <skalibs/djbunix.h>
+
+#include <skalibs/exec.h>
#include <skalibs/env.h>
#include <skalibs/strerr2.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
+
#include <execline/execline.h>
#include "exlsn.h"
@@ -20,6 +22,6 @@ void el_substandrun_str (stralloc *src, size_t srcbase, char const *const *envp,
char const *v[r + 1] ;
if (!env_make(v, r, dst.s, dst.len)) strerr_diefu1sys(111, "env_make") ;
v[r] = 0 ;
- xpathexec_r(v, envp, env_len(envp), info->modifs.s, info->modifs.len) ;
+ xmexec_em(v, envp, info->modifs.s, info->modifs.len) ;
}
}