errno=0 before

This commit is contained in:
2023-03-10 20:06:11 -08:00
parent 0039d6d297
commit bfffbde238
7 changed files with 16 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
int main(void) {
int success = EXIT_SUCCESS;
errno = 0;
errno = 0; /* `errno` is not set correctly to 0 in some debug situations. */
struct journal j = journal();
struct sources s = sources(&j);
if(errno) goto catch;