Skip to content
Snippets Groups Projects
Select Git revision
  • chdir
  • zig default
  • master
  • zig-threaded
  • openat
  • clear
  • compll
  • v1.18.1
  • v2.2.2
  • v1.18
  • v2.2.1
  • v2.2
  • v1.17
  • v2.1.2
  • v2.1.1
  • v2.1
  • v2.0.1
  • v2.0
  • v2.0-beta3
  • v2.0-beta2
  • v2.0-beta1
  • v1.16
  • v1.15.1
  • v1.15
  • v1.14.2
  • v1.14.1
  • v1.14
27 results

nccf

user avatar
Yorhel authored
- Don't do the chdir when working on an imported file; To keep with the
  spirit that ncdu doesn't attempt to correlate the imported fs with the
  actual fs.
- Call path_chdir() instead of chdir(), the former can handle infinitely
  long paths. (And, more pragmatically, doesn't generate a warning with
  -Wunused-result enabled).

(That said, path_chdir() is fairly inefficient and could use some
improvements)
d213ae3b
History
Name Last commit Last update