stm8flash icon indicating copy to clipboard operation
stm8flash copied to clipboard

change how we determine the extensions

Open dirkx opened this issue 3 years ago • 1 comments

to deal with things like foo.ino.hex; or foo.sig.hex which are increasingly common. (Fixes #150)

dirkx avatar Jan 17 '22 20:01 dirkx

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.

spth avatar Jan 17 '22 20:01 spth