From 92f85920b02ad5c9c4262c2c17778f69779c0604 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 6 Feb 2019 08:37:39 +0000 Subject: Rename mkLtemp to mkhtemp; try to make MacOS happy --- src/libposixplz/mkLtemp.c | 10 ---------- src/libposixplz/mkhtemp.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 src/libposixplz/mkLtemp.c create mode 100644 src/libposixplz/mkhtemp.c (limited to 'src/libposixplz') diff --git a/src/libposixplz/mkLtemp.c b/src/libposixplz/mkLtemp.c deleted file mode 100644 index 5c9ccb0..0000000 --- a/src/libposixplz/mkLtemp.c +++ /dev/null @@ -1,10 +0,0 @@ -/* ISC license. */ - -#include - -#include - -int mkLtemp (char const *src, char *dst) -{ - return mklinktemp(src, dst, &link) ; -} diff --git a/src/libposixplz/mkhtemp.c b/src/libposixplz/mkhtemp.c new file mode 100644 index 0000000..0555ef3 --- /dev/null +++ b/src/libposixplz/mkhtemp.c @@ -0,0 +1,10 @@ +/* ISC license. */ + +#include + +#include + +int mkhtemp (char const *src, char *dst) +{ + return mklinktemp(src, dst, &link) ; +} -- cgit v1.2.3