Open dirkx opened 2 years ago
to deal with things like foo.ino.hex; or foo.sig.hex which are increasingly common. (Fixes #150)
This changes a use of strrchr to rindex. strrchr is standard C. rindex is POSIX only. And rindex is even deprecated in POSIX since 2008.
to deal with things like foo.ino.hex; or foo.sig.hex which are increasingly common. (Fixes #150)