Skip to content

more: incomplete error handling for multiple file input #4906

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

Closed
Ideflop opened this issue May 27, 2023 · 0 comments · Fixed by #4997
Closed

more: incomplete error handling for multiple file input #4906

Ideflop opened this issue May 27, 2023 · 0 comments · Fixed by #4997
Labels

Comments

@Ideflop
Copy link
Contributor

Ideflop commented May 27, 2023

While the previous issue ( #4886 ) was solved for single file inputs ( #4888 ) , the code fails when multiple files are given as input. The code currently returns an error and does not continue processing with the remaining files

with GNU more

$ touch file1 file2
$ chmod 244 file1 file2
$ more file1 file2
more: cannot open file1: Permission denied
more: cannot open file2: Permission denied

with uutils more

$ touch file1 file2
$ chmod 244 file1 file2
$ coreutils more file1 file2
more: cannot open 'file1': permission denied
@Ideflop Ideflop changed the title morse: incomplete error handling for multiple file input more: incomplete error handling for multiple file input May 27, 2023
@cakebaker cakebaker linked a pull request Jun 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants