mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 07:14:20 +00:00
Estimated hours taken: 1 Branches: main and 0.12 Make some predicates in the io library return strings instead of NULL. This is a problem for the debugger since it segfaults when trying to display the strings on screen. mdb should probably be made to handle invalid string pointers better, but that requires a bigger change. library/io.m: Make ML_maybe_make_err_msg, ML_maybe_make_win32_err_msg and read_line_as_string_2 return an empty string instead of NULL. tests/debugger/declarative/Mmakefile: tests/debugger/declarative/sort.exp: tests/debugger/declarative/sort.inp: tests/debugger/declarative/sort.input: tests/debugger/declarative/sort.m: Add a regression test. This test segfaulted previously.
5 lines
23 B
Plaintext
5 lines
23 B
Plaintext
ian
|
|
zoltan
|
|
rafe
|
|
julien
|