Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ls: add already listed message #3707

Merged
merged 6 commits into from
Jul 11, 2022

Conversation

niyaznigmatullin
Copy link
Contributor

  • When recursively dereferencing (-RL) ls is called and there is a descendant that links to its parent, the directory is not listed again, and an error message is printed
  • for -L dereference parameter coloring and name printing is fixed (-> shouldn't be printed for symlinks)
  • Some tests added for -L and "already listed"

@niyaznigmatullin niyaznigmatullin marked this pull request as ready for review July 10, 2022 19:13
@niyaznigmatullin
Copy link
Contributor Author

  • Changed FileInformation windows syscall flags to handle directories as well

Now ready to merge

@sylvestre
Copy link
Sponsor Contributor

Cool:
Warning: Congrats! The gnu test tests/ls/infloop is no longer failing!

@sylvestre sylvestre merged commit da5808d into uutils:main Jul 11, 2022
@niyaznigmatullin niyaznigmatullin deleted the ls_looping_symlinks branch July 18, 2022 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants