[Rpm-maint] [rpm-software-management/rpm] validFilename: Use iscntrl from ctype.h (#773)

Christopher Layne notifications at github.com
Wed Jun 26 17:38:26 UTC 2019

* Rather than reinventing it, use a standard C function with the added
  bonus that `iscntrl` clearly states what the problem set is.

Reference: https://en.cppreference.com/w/Template:c/string/character_classes
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * validFilename: Use iscntrl from ctype.h

-- File Changes --

    M build/files.c (5)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190626/c9738c38/attachment-0001.html>

More information about the Rpm-maint mailing list