[sssd PR#5838][opened] Tests: Fix warning about deprecated res_randomid()
by justin-stephenson
URL: https://github.com/SSSD/sssd/pull/5838
Author: justin-stephenson
Title: #5838: Tests: Fix warning about deprecated res_randomid()
Action: opened
PR body:
"""
Warning on fedora rawhide
~~~
../src/tests/cmocka/test_resolv_fake.c: In function ‘dns_header’:
../src/tests/cmocka/test_resolv_fake.c:62:5: error: ‘__res_randomid’ is deprecated: use getentropy instead [-Werror=deprecated-declarations]
62 | h.id = res_randomid(); /* random query ID */
| ^
In file included from ../src/tests/cmocka/test_resolv_fake.c:33:
/usr/include/resolv.h:275:17: note: declared here
275 | unsigned int res_randomid (void) __THROW
| ^~~~~~~~~~~~
~~~
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5838/head:pr5838
git checkout pr5838
2 years, 6 months
[sssd PR#5860][opened] [monitor] Fix untranslated string
by fernape
URL: https://github.com/SSSD/sssd/pull/5860
Author: fernape
Title: #5860: [monitor] Fix untranslated string
Action: opened
PR body:
"""
Promote format string to gettext's PRIu64 instead of using SSSD's
SPRIuid which is not recognized. This caused the original string to be
truncated in the translation files.
How to test:
Apply patch and run:
make -C po/ update-pot
Translations should contain the full string now:
msgid "Running under %<PRIu64>, must be root\n"
Resolves: #5738
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5860/head:pr5860
git checkout pr5860
2 years, 6 months