gecko-dev/mozglue
Gerald Squelart 67edebb322 Bug 1749498 - PrintUsage doesn't exit anymore, exits are done explicitly - r=canaltinova
`PrintUsageThenExit(code)` was supposed to exit when `code` was not zero, but:
- The name didn't reflect that, so it was confusing that `PrintUsageThenExit(0)` would *not* exit.
- The implementation in the Base Profiler exited anyway! This caused issues with some legacy code that still used the now-removed "threads" feature.

This patch renames the function to just `PrintUsage()` and never exits, leaving the caller to invoke `exit(code)` as needed -- with the added benefit that it's possible to exit with a zero code, useful in cases where an exit is not actually an error.

Differential Revision: https://phabricator.services.mozilla.com/D135666
2022-01-12 12:16:59 +00:00
..
android Bug 1415595 - Remove unnecessary mode when opening ASHMEM_NAME_DEF. r=jld 2021-12-15 23:56:33 +00:00
baseprofiler Bug 1749498 - PrintUsage doesn't exit anymore, exits are done explicitly - r=canaltinova 2022-01-12 12:16:59 +00:00
build Bug 1747952 - Include discovered/network printers in the CUPS list, with a timeout. r=emilio,decoder 2022-01-03 17:20:03 +00:00
linker Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
misc Bug 1745344 - Unconditionally use va_copy. r=nika 2021-12-16 06:26:42 +00:00
static Backed out 2 changesets (bug 1617369, bug 1519636) for causing lint failures on multiple files. CLOSED TREE 2022-01-11 04:38:34 -05:00
tests Bug 1729815 - Remove unnecessary profiler feature "threads" - r=julienw,perftest-reviewers,AlexandruIonescu 2021-12-20 21:03:09 +00:00
moz.build Bug 1724749: Consolidate all dllservices code; r=tkikuchi 2021-08-12 20:57:12 +00:00
mozglue.rc Bug 1714212 - Ensure COM initialized prior to showing skeleton UI r=Jamie,aklotz,tkikuchi 2021-07-07 22:37:14 +00:00