diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3051,7 +3051,7 @@ posix_error(); return ret; } -#endif +#endif /* HAVE_TTYNAME */ #ifdef HAVE_CTERMID /*[clinic input] diff --git a/configure b/configure --- a/configure +++ b/configure @@ -10697,19 +10697,19 @@ for ac_func in alarm accept4 access setitimer getitimer \ bind_textdomain_codeset chown clock confstr ctermid dup3 execv faccessat \ fchmod fchmodat fchown fchownat fexecve fdopendir fork fpathconf fstatat \ - ftime ftruncate futimesat futimens futimes gai_strerror getentropy getedig \ - geteuid getgid getgrouplist getgroups getlogin getloadavg getpeername \ - getpgid getpid getppid getpriority getresuid getresgid getrlimit getpwent \ - getspnam getspent getsid getuid getwd if_nameindex initgroups kill killpg \ - lchmod lchown lockf linkat lstat lutimes mmap memrchr mbrtowc mkdirat mkfifo \ - mkfifoat mknod mknodat mktime mremap nice openat opendir pathconf pause pipe \ - pipe2 plock poll posix_fallocate posix_fadvise pread pthread_init \ - pthread_kill putenv pwrite readlink readlinkat readv realpath renameat \ - select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid \ - seteuid setgid sethostname setlocale setregid setreuid setresuid setresgid \ - setsid setpgid setpgrp setpriority setuid setvbuf sched_get_priority_max \ - sched_setaffinity sched_setscheduler sched_setparam sched_rr_get_interval \ - sigaction sigaltstack siginterrupt sigpending sigrelse sigtimedwait sigwait \ + ftime ftruncate futimesat futimens futimes gai_strerror getentropy geteuid \ + getgid getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ + getppid getpriority getresuid getresgid getrlimit getpwent getspnam getspent \ + getsid getuid getwd if_nameindex initgroups kill killpg lchmod lchown lockf \ + linkat lstat lutimes mmap memrchr mbrtowc mkdirat mkfifo mkfifoat mknod \ + mknodat mktime mremap nice openat opendir pathconf pause pipe pipe2 plock \ + poll posix_fallocate posix_fadvise pread pthread_init pthread_kill putenv \ + pwrite readlink readlinkat readv realpath renameat select sem_open \ + sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid setgid \ + sethostname setlocale setregid setreuid setresuid setresgid setsid setpgid \ + setpgrp setpriority setuid setvbuf sched_get_priority_max sched_setaffinity \ + sched_setscheduler sched_setparam sched_rr_get_interval sigaction \ + sigaltstack siginterrupt sigpending sigrelse sigtimedwait sigwait \ sigwaitinfo snprintf strftime strlcpy symlinkat sync sysconf system \ tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r truncate \ ttyname umask uname unlinkat unsetenv utimensat utimes wait waitid waitpid \ diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -3004,19 +3004,19 @@ AC_CHECK_FUNCS(alarm accept4 access setitimer getitimer \ bind_textdomain_codeset chown clock confstr ctermid dup3 execv faccessat \ fchmod fchmodat fchown fchownat fexecve fdopendir fork fpathconf fstatat \ - ftime ftruncate futimesat futimens futimes gai_strerror getentropy getedig \ - geteuid getgid getgrouplist getgroups getlogin getloadavg getpeername \ - getpgid getpid getppid getpriority getresuid getresgid getrlimit getpwent \ - getspnam getspent getsid getuid getwd if_nameindex initgroups kill killpg \ - lchmod lchown lockf linkat lstat lutimes mmap memrchr mbrtowc mkdirat mkfifo \ - mkfifoat mknod mknodat mktime mremap nice openat opendir pathconf pause pipe \ - pipe2 plock poll posix_fallocate posix_fadvise pread pthread_init \ - pthread_kill putenv pwrite readlink readlinkat readv realpath renameat \ - select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid \ - seteuid setgid sethostname setlocale setregid setreuid setresuid setresgid \ - setsid setpgid setpgrp setpriority setuid setvbuf sched_get_priority_max \ - sched_setaffinity sched_setscheduler sched_setparam sched_rr_get_interval \ - sigaction sigaltstack siginterrupt sigpending sigrelse sigtimedwait sigwait \ + ftime ftruncate futimesat futimens futimes gai_strerror getentropy geteuid \ + getgid getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ + getppid getpriority getresuid getresgid getrlimit getpwent getspnam getspent \ + getsid getuid getwd if_nameindex initgroups kill killpg lchmod lchown lockf \ + linkat lstat lutimes mmap memrchr mbrtowc mkdirat mkfifo mkfifoat mknod \ + mknodat mktime mremap nice openat opendir pathconf pause pipe pipe2 plock \ + poll posix_fallocate posix_fadvise pread pthread_init pthread_kill putenv \ + pwrite readlink readlinkat readv realpath renameat select sem_open \ + sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid setgid \ + sethostname setlocale setregid setreuid setresuid setresgid setsid setpgid \ + setpgrp setpriority setuid setvbuf sched_get_priority_max sched_setaffinity \ + sched_setscheduler sched_setparam sched_rr_get_interval sigaction \ + sigaltstack siginterrupt sigpending sigrelse sigtimedwait sigwait \ sigwaitinfo snprintf strftime strlcpy symlinkat sync sysconf system \ tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r truncate \ ttyname umask uname unlinkat unsetenv utimensat utimes wait waitid waitpid \ diff --git a/pyconfig.h.in b/pyconfig.h.in --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -338,9 +338,6 @@ /* Define this if you have flockfile(), getc_unlocked(), and funlockfile() */ #undef HAVE_GETC_UNLOCKED -/* Define to 1 if you have the `getedig' function. */ -#undef HAVE_GETEDIG - /* Define to 1 if you have the `getentropy' function. */ #undef HAVE_GETENTROPY