diff options
author | Stefan Krah <skrah@bytereef.org> | 2016-04-25 23:09:18 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2016-04-25 23:09:18 (GMT) |
commit | 267b639a2655d283282813219730704a8d2743b7 (patch) | |
tree | b6b35a76827f1f9d6aea1634ebaae2739d136724 /pyconfig.h.in | |
parent | 8e1da5823b4dabbc5e60f8ee27411070a37804ef (diff) | |
download | cpython-267b639a2655d283282813219730704a8d2743b7.zip cpython-267b639a2655d283282813219730704a8d2743b7.tar.gz cpython-267b639a2655d283282813219730704a8d2743b7.tar.bz2 |
Issue #20306: The pw_gecos and pw_passwd fields are not required by POSIX.
If they aren't present, set them to an empty string.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index d432a82..b51bd56 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -916,6 +916,12 @@ /* Define to 1 if you have the <stropts.h> header file. */ #undef HAVE_STROPTS_H +/* Define to 1 if `pw_gecos' is a member of `struct passwd'. */ +#undef HAVE_STRUCT_PASSWD_PW_GECOS + +/* Define to 1 if `pw_passwd' is a member of `struct passwd'. */ +#undef HAVE_STRUCT_PASSWD_PW_PASSWD + /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIME |