diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-05-11 07:54:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-05-11 07:54:37 -0700 |
commit | 5a24650eb390b699e116f981e595590f72c05dc6 (patch) | |
tree | 4c3c9bf5e80d30c5b8290d8285464e6bc180d87e /autoload.c | |
parent | 388dcdf4b4bad23540ca69b36f66e8f7e7717eb9 (diff) | |
download | txr-5a24650eb390b699e116f981e595590f72c05dc6.tar.gz txr-5a24650eb390b699e116f981e595590f72c05dc6.tar.bz2 txr-5a24650eb390b699e116f981e595590f72c05dc6.zip |
sysif: define passwd symbol for group stuff.
* sysif.c (sysif_init): The passwd symbol is used by both the
passwd and group structure, so we need to initialize it if
either HAVE_PWUID or HAVE_GRGID is set. Certain Android SDK
levels have getgrgid but not getpwuid, so it's possible to end
up with HAVE_GRGID but not HAVE_PWUID, in which case passwd_s
ends up nil, blowing up the make_struct_type call.
Diffstat (limited to 'autoload.c')
0 files changed, 0 insertions, 0 deletions