-
Fabrice de Gans-Riberi authored
By default, on POSIX, FileEnumerator keeps track of previously visited directories by inode. On Fuchsia, this was not working properly because all files under the /pkg directory have inode 1. To work around this issue, the SHOW_SYM_LINKS flag was used. This flag makes FileEnumerator always parse through SymLinks on POSIX platforms. Since Fuchsia does not support SymLinks, this CL makes the SHOW_SYM_LINKS flag have no effect on Fuchsia and tweaks the FileEnumerator behavior to never keep track of inodes on Fuchsia. Bug: 1033230 Change-Id: I2bb7a25b3e49f394323bfb14e1e5132dda92ca12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1967970 Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org> Reviewed-by:
Wez <wez@chromium.org> Reviewed-by:
Ryan Hamilton <rch@chromium.org> Cr-Commit-Position: refs/heads/master@{#738345}
a19cb04b