Closed hikiko closed 5 years ago
Is there a good reason to put getopt file into a separate static library? Could we not just drop it directly into src/getopt.c and name it in VKRUNNERBIN_SOURCE_FILES?
No :) I just wasn't sure if I should put the "borrowed" files together with the others, I will move them.
I've found another issue as well, long options that don't have short options are ignored the way I've written it, I will fix that too.
Also I am writing here the two other things we discussed on IRC so that we have all the needed fixes together:
Thank you!
Thanks for making the changes. It looks good to me. Feel free to merge it.
With this branch we could support both long and short options using an MIT licensed getopt implementation. We can use unique negative numbers to denote options without a short option.