LICENSE:
Mention files derived from musl library.
runtime/process_getopt:
Process files from ../getopt/*.[ch] to produce
mercury_getopt.h, mercury_getopt.c, mercury_getopt_long.c.
runtime/mercury_getopt.h:
runtime/mercury_getopt.c:
runtime/mercury_getopt_long.c:
Add files generated by process_getopt.
runtime/Mmakefile:
Update list of source files.
util/Mmakefile:
Use musl getopt if the system C library does not have getopt().
tests/debugger/browser_test.exp:
tests/debugger/browser_test.exp2:
tests/debugger/browser_test.exp3:
tests/hard_coded/runtime_opt.exp:
Update expected error messages to match new getopt() output.
changed exp output
Estimated hours taken: 0.1
Branches: main
tests/hard_coded/Mmakefile:
tests/hard_coded/runtime_opt.exp:
tests/hard_coded/runtime_opt.inp:
Update this test case. It would report an error message when the
chosen --detstack-size was less than the default --small-detstack-size.
Estimated hours taken: 3
Branches: main, release
Fix a bug in the handling of unrecognised runtime flags.
runtime/mercury_wrapper.c:
Add the required sentinel at the end of MR_long_opts.
Allow "det-stack-*" and "nondet-stack-*" as synonyms for
"detstack-*" and "nondetstack-*" respectively.
tests/hard_coded/Mmakefile:
tests/hard_coded/runtime_opt.exp:
tests/hard_coded/runtime_opt.inp:
tests/hard_coded/runtime_opt.m:
Test case for both recognised and unrecognised options. The options
to attempt are listed one per line in runtime_opt.inp.