-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix glob pattern matching regression.
Static analysis indicated that the GLOB_META_* macros should be casted to CHARs. They were being compared to CHARs throughout the glob code. This change broke ClpGlobMatch, causing an entire switch statement to be compiled out due to integer promotion differences between the GLOB_META_* CHAR macros and a CHAR being AND'd with 0xFF. The fix is to remove the GLOB_META_MASK (0xFF). It is not needed as the GLOBL_META_* macros are only ever being compared to CHARs.
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters