logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

force-getcwd-fallback.patch (597B)


  1. SPDX-FileCopyrightText: 2022 Dor Askayo <dor.askayo@gmail.com>
  2. SPDX-License-Identifier: GPL-3.0-or-later
  3. Use the fallback implementations of getcwd to get the same /usr/bin/find
  4. checksum when building across FUSE and non-FUSE filesystems.
  5. --- findutils-4.2.33/gnulib/m4/getcwd-path-max.m4 2022-01-08 13:16:54.412709192 +0200
  6. +++ findutils-4.2.33/gnulib/m4/getcwd-path-max.m4 2022-01-16 11:38:02.658606802 +0200
  7. @@ -81,7 +81,7 @@
  8. char *cwd = getcwd (buf, PATH_MAX);
  9. size_t initial_cwd_len;
  10. size_t cwd_len;
  11. - int fail = 0;
  12. + int fail = 1;
  13. size_t n_chdirs = 0;
  14. if (cwd == NULL)