Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/chkname.c: is_valid_name(): Use ispfchar() to simplify
In the first case, we can do the transformation because a few lines above, we explicitly reject a name starting with a '-'. In the second case, we're obviously using ispfchar() instead of its pattern. Signed-off-by: Alejandro Colomar <[email protected]>
- Loading branch information