Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Use out-of-bounds value for illegality
This was using 0 as a parameter, which is a legal value and could have been confused by the called subroutine as being legitimate. It is not a bug because of the way the subroutine is currently written given the other parameters in this call. But it is more robust to use an out-of-bounds value, so that if the function were to change, we would sooner find out about any improper call.
- Loading branch information