[systemd-devel] [RFC 12/25] shared/missing.h: check for missing canonicalize_file_name

2014-09-18 Thread Emil Renner Berthing
--- configure.ac | 3 ++- src/shared/missing.h | 6 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fb16904..1f2bbd0 100644 --- a/configure.ac +++ b/configure.ac @@ -301,8 +301,9 @@ LIBS=$save_LIBS AC_CHECK_FUNCS([fanotify_init

Re: [systemd-devel] [RFC 12/25] shared/missing.h: check for missing canonicalize_file_name

2014-09-18 Thread Cristian Rodríguez
El 18/09/14 a las #4, Emil Renner Berthing escribió: +#if !HAVE_DECL_CANONICALIZE_FILE_NAME +static inline char *canonicalize_file_name(const char *path) { +return realpath(path, NULL); +} +#endif No, no reimplementations of library functions here, only wrappers for syscalls which