Waldemar Kozaczuk (2): Move getopt* files to libc folder and convert to C++ Enhance getopt family of functions to work with PIEs
Makefile | 4 +- core/elf.cc | 14 +++ include/osv/elf.hh | 4 + libc/misc/getopt.cc | 125 +++++++++++++++++++++ libc/misc/getopt_long.cc | 88 +++++++++++++++ modules/tests/Makefile | 9 +- tests/tst-getopt.cc | 232 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 473 insertions(+), 3 deletions(-) create mode 100644 libc/misc/getopt.cc create mode 100644 libc/misc/getopt_long.cc create mode 100644 tests/tst-getopt.cc -- 2.20.1 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
