Skip to content
Snippets Groups Projects
  1. Mar 04, 2021
    • Yorhel's avatar
      Experiment with scanning using openat() rather than chdir() · 783bcb5b
      Yorhel authored
      A slightly different approach. In terms of syscalls it probably doesn't
      matter at all, but it's a simpler, less hacky and maybe more efficient
      way to work around PATH_MAX limitations than constantly chdir()'ing for
      each directory.  Should also fix the chdir("..") fail case in MacOS
      firmlink scenarios, though I haven't a clue if MacOS implements all
      these openat()-related calls in the first place.
      
      Downsides:
      - Less portable. Everything is in POSIX, but it's more recent than what
        we used to use.
      - Requires more open file descriptions, might hit the limit for deeply
        nested directories.
      
      Haven't done much testing yet, but there's a bunch of TODO's:
      - Make refreshing work again (not sure what's going wrong there)
      - See if we can report readdir() etc errors again?
      - Make firmlink detection work again?
      - See how portable this really is.
      - Also update file deletion code
      783bcb5b
    • Yorhel's avatar
      Test for read error while reading the --exclude-from file · 9337cdc9
      Yorhel authored
      Fixes #171
      9337cdc9
  2. Jul 12, 2020
  3. Jun 10, 2020
  4. Jun 07, 2020
  5. Jun 05, 2020
  6. May 30, 2020
  7. May 15, 2020
  8. May 13, 2020
  9. May 07, 2020
  10. May 06, 2020
  11. Apr 21, 2020
  12. Apr 08, 2020
  13. Apr 07, 2020
  14. Apr 01, 2020
  15. Feb 10, 2020
  16. Feb 06, 2020
  17. Feb 04, 2020
  18. Jan 25, 2020
  19. Dec 15, 2019
  20. Nov 14, 2019
    • Yorhel's avatar
      Fix cross compiler targets · a5e08cf5
      Yorhel authored
      I assumed that ./configure would fail if it can't find a suitable
      compiler for the given --host, but it just falls back to the host gcc.
      
      Fixes #138
      a5e08cf5
  21. Aug 17, 2019
  22. Aug 05, 2019
  23. Aug 04, 2019
Loading