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

Cristian Rodríguez crrodriguez at opensuse.org
Thu Sep 18 08:11:31 PDT 2014


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 glibc still does not include.


More information about the systemd-devel mailing list