* lib/canonicalize-lgpl.c: Use "defined FUNC_REALPATH_WORKS" in
case preprocessor is picky. Reported by Adhemerval Zanella in:
https://sourceware.org/pipermail/libc-alpha/2020-December/121130.html
2020-12-28 Paul Eggert <eggert@cs.ucla.edu>
+ canonicalize-lgpl: accommodate picky cpp
+ * lib/canonicalize-lgpl.c: Use "defined FUNC_REALPATH_WORKS" in
+ case preprocessor is picky. Reported by Adhemerval Zanella in:
+ https://sourceware.org/pipermail/libc-alpha/2020-December/121130.html
+
canonicalize: simplify via scratch_buffer_dupfree
* config/srclist.txt: Adjust accordingly.
* lib/canonicalize-lgpl.c (realpath_stk):
# define FACCESSAT_NEVER_EOVERFLOWS false
#endif
-#if !FUNC_REALPATH_WORKS || defined _LIBC
+#if defined _LIBC || !FUNC_REALPATH_WORKS
/* Return true if FILE's existence can be shown, false (setting errno)
otherwise. Follow symbolic links. */