summaryrefslogtreecommitdiff
path: root/src/libstddjb/hiercopy_loose_tmp.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-06-01 03:46:48 +0000
committerLaurent Bercot <ska@appnovation.com>2023-06-01 03:46:48 +0000
commitd0b38944c50dab81755fca50a983a1bddefbfadf (patch)
tree8bab9da952d45c28e3f6dbed705c0f4c9aa78325 /src/libstddjb/hiercopy_loose_tmp.c
parent96078d63fcd4acd96983a42abac5ab8604bc80ca (diff)
downloadskalibs-d0b38944c50dab81755fca50a983a1bddefbfadf.tar.xz
Refactor to add hiercopy_loose (for s6-l-i)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/hiercopy_loose_tmp.c')
-rw-r--r--src/libstddjb/hiercopy_loose_tmp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstddjb/hiercopy_loose_tmp.c b/src/libstddjb/hiercopy_loose_tmp.c
new file mode 100644
index 0000000..81eae4a
--- /dev/null
+++ b/src/libstddjb/hiercopy_loose_tmp.c
@@ -0,0 +1,8 @@
+/* ISC license. */
+
+#include <skalibs/djbunix.h>
+
+int hiercopy_loose_tmp (char const *src, char const *dst, stralloc *tmp)
+{
+ return hiercopy_internal(src, dst, tmp, 1) ;
+}