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 | 358ed61b023006bff29d09611bda9a57f26ca5ab (patch) | |
tree | 4c3c9bf5e80d30c5b8290d8285464e6bc180d87e /eval.c | |
parent | 37ae889a553a325e401b7d0f416427b6183b1ba4 (diff) | |
download | txr-358ed61b023006bff29d09611bda9a57f26ca5ab.tar.gz txr-358ed61b023006bff29d09611bda9a57f26ca5ab.tar.bz2 txr-358ed61b023006bff29d09611bda9a57f26ca5ab.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 'eval.c')
0 files changed, 0 insertions, 0 deletions