Skip to content

Commit

Permalink
Do not match exact amount of spaces for errno macro expansion in appr…
Browse files Browse the repository at this point in the history
…ovalTests.py

E.g. musl libc expands errno() to __errno_location() without a space between, glibc has 1 space.
  • Loading branch information
Johnnynator authored and horenmar committed Jan 8, 2021
1 parent f5b413a commit ba81505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/approvalTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

# errno macro expands into various names depending on platform, so we need to fix them up as well
errnoParser = re.compile(r'''
\(\*__errno_location\ \(\)\)
\(\*__errno_location\s*\(\)\)
|
\(\*__error\(\)\)
|
Expand Down

0 comments on commit ba81505

Please sign in to comment.