2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Previously, debug_return_bool was the same as debug_return_int

except that it logged true/false for 1/0.  However, this appears
to trigger a bug in some compilers.  To avoid this, debug_return_bool
now uses bool, not int.  Callers that were passing it an int have
been converted to use debug_return_int instead.
This commit is contained in:
Todd C. Miller
2015-05-07 10:33:23 -06:00
parent 9c9ff3dc4b
commit caf5d45e0f
12 changed files with 69 additions and 75 deletions

View File

@@ -677,7 +677,7 @@ matches_env_check(const char *var, bool *full_match)
keepit = !strpbrk(++val, "/%");
}
}
debug_return_bool(keepit);
debug_return_int(keepit);
}
/*