21 Nov
2023
21 Nov
'23
4:28 p.m.
On Tue Nov 21 16:30:14 2023 +0000, Nikolay Sivov wrote:
Another aspect is that it might be interesting in general to test our utilities on Windows, and having customizations like that would prevent it. Return code still reflects failure/success, so for scripting that might be enough? the usual way would be to #ifndef the corresponding code ; note that MESSAGE cannot be preprocessed to nothing (not that hard to add though)
for the error code, didn't look at all of them but from Wine's regedit's exit_errorcode() function ```plaintext programs/regedit/regedit.c: exit(0); /* regedit.exe always terminates with error code zero */ ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4440#note_53121