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

tr: Add ambiguous octal escape warning #6886

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OshinoShinobu-Chan
Copy link
Contributor

This PR is to fix issue #6821.

I add parse_octal_up_to_three_digits_with_warning which is similar to parse_octal_up_to_three_digits but can print warning. Becuase parse_octal_up_to_three_digits is alse used in other cases, and those cases should not output the warning. With two versions, we can avoid printing the same warning more than once.

Some of the other functions are also added "with_warning" version.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

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.

tr: missing ambiguous octal escape warning
1 participant