[PATCH] Cross-platform: progname: Made Path Seperator for Win

Progyan Bhattacharya bprogyan at gmail.com
Thu Mar 8 10:23:44 UTC 2018


On Thu, 2018-03-08 at 02:15 +0100, Guillem Jover wrote:
> Actually we need to find the last char, so strcspn() would not do.
> I've
> just rewritten the function into a loop from the back, checking for
> the
> valid dir separator(s) depending on the platform.

That settle things up. :)

-- 
Regards,
Progyan Bhattacharya
(http://codeprogyan.me)


More information about the libbsd mailing list