* m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Don't #undef mkdir.
* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
+2020-08-14 Bruno Haible <bruno@clisp.org>
+
+ getcwd: Remove obsolete code.
+ * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Don't #undef mkdir.
+ * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
+
2020-08-14 Bruno Haible <bruno@clisp.org>
tzset: Assume the function exists.
-# serial 11
+# serial 12
# Determine whether getcwd aborts when the length of the working directory
# name is unusually large. Any length between 4k and 16k trigger the bug
# when using glibc-2.4.90-9 or older.
]gl_PATHMAX_SNIPPET[
-/* Don't get link errors because mkdir is redefined to rpl_mkdir. */
-#undef mkdir
-
#ifndef S_IRWXU
# define S_IRWXU 0700
#endif
-# serial 23
+# serial 24
# Check for several getcwd bugs with long file names.
# If so, arrange to compile the wrapper function.
/* Use the getcwd function, not any macro. */
#undef getcwd
-/* Don't get link errors because mkdir is redefined to rpl_mkdir. */
-#undef mkdir
-
#ifndef S_IRWXU
# define S_IRWXU 0700
#endif