[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Sat Jan 13 17:00:28 EET 2024
New commits:
commit 389dc7a5fcb9ddf457772350bd7508f0c728154d
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Jan 12 12:28:51 2024 -0500
impair: simplify (?) unsigned impair values
The single biased unsigned is replaced by:
struct impair_unsigned {
bool enabled;
unsigned value;
}
which means code that looked like:
if (impair.what != 0)
... use impair.what-1/*unbias*/ ...
becomes:
if (impair.what.enabled)
... use impair.what.value ...
this also means that -ve values are no possible
Event values, which use the same code, are also updated.
commit b9d2ece50f7b62cac5170ea8beb5c5aa551538e0
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Jan 12 14:53:21 2024 -0500
testing: update impair messages
More information about the Swan-commit
mailing list