[sssd PR#5810][opened] Include sys/types.h in debug.h
by jetomit
URL: https://github.com/SSSD/sssd/pull/5810
Author: jetomit
Title: #5810: Include sys/types.h in debug.h
Action: opened
PR body:
"""
Hi, I’m getting compile errors without this (on Debian 10):
In file included from ./src/util/sss_pam_data.h:33,
from src/util/sss_pam_data.c:27:
./src/util/debug.h:92:44: error: unknown type name ‘uid_t’; did you mean ‘uint_t’?
int chown_debug_file(const char *filename, uid_t uid, gid_t gid);
^~~~~
uint_t
./src/util/debug.h:92:55: error: unknown type name ‘gid_t’
int chown_debug_file(const char *filename, uid_t uid, gid_t gid);
^~~~~
Thanks!
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5810/head:pr5810
git checkout pr5810
2 years, 5 months
[sssd PR#5816][opened] debug: fix unused variable warnings
by pbrezina
URL: https://github.com/SSSD/sssd/pull/5816
Author: pbrezina
Title: #5816: debug: fix unused variable warnings
Action: opened
PR body:
"""
```
/home/pbrezina/workspace/sssd/src/util/debug.c: In function ‘sss_vdebug_fn’:
/home/pbrezina/workspace/sssd/src/util/debug.c:274:11: error: unused variable ‘result_fmt’ [-Werror=unused-variable]
274 | char *result_fmt;
| ^~~~~~~~~~
/home/pbrezina/workspace/sssd/src/util/debug.c:273:11: error: unused variable ‘chain_id_fmt_dyn’ [-Werror=unused-variable]
273 | char *chain_id_fmt_dyn = NULL;
| ^~~~~~~~~~~~~~~~
/home/pbrezina/workspace/sssd/src/util/debug.c:272:10: error: unused variable ‘chain_id_fmt_fixed’ [-Werror=unused-variable]
272 | char chain_id_fmt_fixed[256];
```
Introduced in: 3d8dd1282ffb7d0188e36d0109340ce622745717
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5816/head:pr5816
git checkout pr5816
2 years, 5 months