SPDX-FileCopyrightText: 2022 Dor Askayo <dor.askayo@gmail.com>

SPDX-License-Identifier: GPL-3.0-or-later

Use the fallback implementations of getcwd to get the same /usr/bin/find
checksum when building across FUSE and non-FUSE filesystems.

--- findutils-4.2.33/gnulib/m4/getcwd-path-max.m4	2022-01-08 13:16:54.412709192 +0200
+++ findutils-4.2.33/gnulib/m4/getcwd-path-max.m4	2022-01-16 11:38:02.658606802 +0200
@@ -81,7 +81,7 @@
   char *cwd = getcwd (buf, PATH_MAX);
   size_t initial_cwd_len;
   size_t cwd_len;
-  int fail = 0;
+  int fail = 1;
   size_t n_chdirs = 0;
 
   if (cwd == NULL)
