diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-07 15:49:02 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-07 15:49:02 +0000 |
commit | 933e986a9207d2b61c5119e18603b44b924e7226 (patch) | |
tree | c670bc83141d6aebc70e31c11168e005a31e5180 /src/libstddjb/sarealpath_tmp.c | |
parent | 11f210ecaa0e085612058b459523fa2003578aa5 (diff) | |
download | skalibs-933e986a9207d2b61c5119e18603b44b924e7226.tar.xz |
Finally implement sarealpath() over realpath(). Prettier atomic_symlink().
Diffstat (limited to 'src/libstddjb/sarealpath_tmp.c')
-rw-r--r-- | src/libstddjb/sarealpath_tmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libstddjb/sarealpath_tmp.c b/src/libstddjb/sarealpath_tmp.c new file mode 100644 index 0000000..31aeeb2 --- /dev/null +++ b/src/libstddjb/sarealpath_tmp.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +/* This function is now obsolete. */ + +#include <skalibs/djbunix.h> + +int sarealpath_tmp (stralloc *sa, char const *path, stralloc *tmp) +{ + (void)tmp ; + return sarealpath(sa, path) ; +} |