Closed omar-polo closed 1 year ago
Thanks, but I like to keep separate commits for issues that are not directly related, so _XOPEN_SOURCE, cmd_prune, and wctype.h should be three separate commits. The changes are simple enough I can incorporate them by hand, but pointing it out for future reference.
Committed via d3d86fa02adbb492feed6603c041aec649a154e6, cf358befb051be7ed263bc16e6d82ee8e984359c, and 32cc0380df7379cc95599b13af3fd3a8d7184078.
Sure, I'll keep it in mind for future contributions, thanks! :)
spotted while building this on OpenBSD, probably helps on other platforms too.
define _XOPEN_SOURCE to an integral version big enough to have strcasecmp visible
fix the return type of cmd_prune
include wctype.h for the isw* functions