Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
507cbb0c
Commit
507cbb0c
authored
Dec 22, 2016
by
Xavier de Gaye
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28762: Merge 3.6.
parents
62497d52
bdf0d0f0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
4 deletions
+45
-4
Misc/NEWS
Misc/NEWS
+3
-0
configure
configure
+30
-1
configure.ac
configure.ac
+10
-1
pyconfig.h.in
pyconfig.h.in
+2
-2
No files found.
Misc/NEWS
View file @
507cbb0c
...
@@ -581,6 +581,9 @@ Documentation
...
@@ -581,6 +581,9 @@ Documentation
Build
Build
-----
-----
- Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
macro is not defined in android-ndk-r13.
- Issue #28538: Fix the compilation error that occurs because if_nameindex() is
- Issue #28538: Fix the compilation error that occurs because if_nameindex() is
available on Android API level 24, but the if_nameindex structure is not
available on Android API level 24, but the if_nameindex structure is not
defined.
defined.
...
...
configure
View file @
507cbb0c
...
@@ -11202,7 +11202,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
...
@@ -11202,7 +11202,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
futimens futimes gai_strerror getentropy
\
futimens futimes gai_strerror getentropy
\
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid
\
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid
\
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd
\
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd
\
initgroups
kill
killpg lchmod lchown l
ockf l
inkat lstat lutimes mmap
\
initgroups
kill
killpg lchmod lchown linkat lstat lutimes mmap
\
memrchr mbrtowc mkdirat
mkfifo
\
memrchr mbrtowc mkdirat
mkfifo
\
mkfifoat
mknod
mknodat mktime mremap
nice
openat pathconf pause pipe2 plock poll
\
mkfifoat
mknod
mknodat mktime mremap
nice
openat pathconf pause pipe2 plock poll
\
posix_fallocate posix_fadvise pread
\
posix_fallocate posix_fadvise pread
\
...
@@ -12690,6 +12690,35 @@ else
...
@@ -12690,6 +12690,35 @@ else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
$as_echo
"no"
>
&6
;
}
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
# Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
# macro is not defined in android-ndk-r13.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for lockf"
>
&5
$as_echo_n
"checking for lockf... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#include <unistd.h>
int
main ()
{
lockf(0, F_LOCK, 0);
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
$as_echo
"#define HAVE_LOCKF 1"
>>
confdefs.h
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
conftest
$ac_exeext
conftest.
$ac_ext
...
...
configure.ac
View file @
507cbb0c
...
@@ -3386,7 +3386,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
...
@@ -3386,7 +3386,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
futimens futimes gai_strerror getentropy \
futimens futimes gai_strerror getentropy \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
initgroups kill killpg lchmod lchown l
ockf l
inkat lstat lutimes mmap \
initgroups kill killpg lchmod lchown linkat lstat lutimes mmap \
memrchr mbrtowc mkdirat mkfifo \
memrchr mbrtowc mkdirat mkfifo \
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
posix_fallocate posix_fadvise pread \
posix_fallocate posix_fadvise pread \
...
@@ -3763,6 +3763,15 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
...
@@ -3763,6 +3763,15 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
[AC_MSG_RESULT(no)
[AC_MSG_RESULT(no)
])
])
# Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
# macro is not defined in android-ndk-r13.
AC_MSG_CHECKING(for lockf)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h> ]],[[lockf(0, F_LOCK, 0);]])],
[AC_DEFINE(HAVE_LOCKF, 1, Define to 1 if you have the 'lockf' function and the F_LOCK macro.)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
])
# On OSF/1 V5.1, getaddrinfo is available, but a define
# On OSF/1 V5.1, getaddrinfo is available, but a define
# for [no]getaddrinfo in netdb.h.
# for [no]getaddrinfo in netdb.h.
AC_MSG_CHECKING(for getaddrinfo)
AC_MSG_CHECKING(for getaddrinfo)
...
...
pyconfig.h.in
View file @
507cbb0c
...
@@ -472,7 +472,7 @@
...
@@ -472,7 +472,7 @@
/* Define to 1 if you have the <ieeefp.h> header file. */
/* Define to 1 if you have the <ieeefp.h> header file. */
#undef HAVE_IEEEFP_H
#undef HAVE_IEEEFP_H
/* Define to 1 if you have the
`
if_nameindex' function. */
/* Define to 1 if you have the
'
if_nameindex' function. */
#undef HAVE_IF_NAMEINDEX
#undef HAVE_IF_NAMEINDEX
/* Define if you have the 'inet_aton' function. */
/* Define if you have the 'inet_aton' function. */
...
@@ -574,7 +574,7 @@
...
@@ -574,7 +574,7 @@
/* Define to 1 if you have the <linux/tipc.h> header file. */
/* Define to 1 if you have the <linux/tipc.h> header file. */
#undef HAVE_LINUX_TIPC_H
#undef HAVE_LINUX_TIPC_H
/* Define to 1 if you have the
`lockf' function
. */
/* Define to 1 if you have the
'lockf' function and the F_LOCK macro
. */
#undef HAVE_LOCKF
#undef HAVE_LOCKF
/* Define to 1 if you have the `log1p' function. */
/* Define to 1 if you have the `log1p' function. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment