From 262a399beb9c525633d5ac96d15754faeb65a28c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 18 Apr 2020 23:50:52 -0400 Subject: spm_mkdtemp requires a base directory: * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS) --- include/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/fs.h b/include/fs.h index 796c350..c41b649 100644 --- a/include/fs.h +++ b/include/fs.h @@ -39,7 +39,7 @@ char *basename(char *path); int rsync(const char *_args, const char *_source, const char *_destination); char *human_readable_size(uint64_t n); char *expandpath(const char *_path); -char *spm_mkdtemp(const char *name, const char *extended_path); +char *spm_mkdtemp(const char *base, const char *name, const char *extended_path); int touch(const char *path); -- cgit