mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.14] gh-135497: fix MAXLOGNAME detection in configure.ac (GH-135508) (#135516)
Some checks are pending
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / Windows MSI (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
gh-135497: fix `MAXLOGNAME` detection in `configure.ac` (GH-135508)
(cherry picked from commit 2e15a50851)
Co-authored-by: Caleb Xu <calebcenter@live.com>
This commit is contained in:
parent
f346ba7a02
commit
c5f066ddf7
4 changed files with 4 additions and 2 deletions
|
|
@ -0,0 +1 @@
|
|||
Fix the detection of ``MAXLOGNAME`` in the ``configure.ac`` script.
|
||||
|
|
@ -0,0 +1 @@
|
|||
Fix :func:`os.getlogin` failing for longer usernames on BSD-based platforms.
|
||||
2
configure
generated
vendored
2
configure
generated
vendored
|
|
@ -23849,7 +23849,7 @@ fi
|
|||
|
||||
|
||||
|
||||
ac_fn_check_decl "$LINENO" "MAXLOGNAME" "ac_cv_have_decl_MAXLOGNAME" "#include <sys/params.h>
|
||||
ac_fn_check_decl "$LINENO" "MAXLOGNAME" "ac_cv_have_decl_MAXLOGNAME" "#include <sys/param.h>
|
||||
" "$ac_c_undeclared_builtin_options" "CFLAGS"
|
||||
if test "x$ac_cv_have_decl_MAXLOGNAME" = xyes
|
||||
then :
|
||||
|
|
|
|||
|
|
@ -5542,7 +5542,7 @@ AC_CHECK_DECL([MAXLOGNAME],
|
|||
[AC_DEFINE([HAVE_MAXLOGNAME], [1],
|
||||
[Define if you have the 'MAXLOGNAME' constant.])],
|
||||
[],
|
||||
[@%:@include <sys/params.h>])
|
||||
[@%:@include <sys/param.h>])
|
||||
|
||||
AC_CHECK_DECLS([UT_NAMESIZE],
|
||||
[AC_DEFINE([HAVE_UT_NAMESIZE], [1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue