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
10b214c2
Commit
10b214c2
authored
Feb 13, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use configure to check for inet_aton.
parent
3ea7cc3c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
Modules/socketmodule.c
Modules/socketmodule.c
+1
-1
configure
configure
+3
-2
configure.in
configure.in
+1
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Modules/socketmodule.c
View file @
10b214c2
...
@@ -2713,7 +2713,7 @@ socket_inet_aton(PyObject *self, PyObject *args)
...
@@ -2713,7 +2713,7 @@ socket_inet_aton(PyObject *self, PyObject *args)
/* Have to use inet_addr() instead */
/* Have to use inet_addr() instead */
char
*
ip_addr
;
char
*
ip_addr
;
#if
1
#if
HAVE_INET_ATON
struct
in_addr
buf
;
struct
in_addr
buf
;
if
(
!
PyArg_ParseTuple
(
args
,
"s:inet_aton"
,
&
ip_addr
))
{
if
(
!
PyArg_ParseTuple
(
args
,
"s:inet_aton"
,
&
ip_addr
))
{
...
...
configure
View file @
10b214c2
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.38
6
.
# From configure.in Revision: 1.38
7
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
#
...
@@ -12092,13 +12092,14 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
...
@@ -12092,13 +12092,14 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
for
ac_func
in
alarm
chown
clock confstr ctermid execv
\
for
ac_func
in
alarm
chown
clock confstr ctermid execv
\
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate
\
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate
\
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid
\
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid
\
getpriority getpwent getwd
\
getpriority getpwent getwd
\
hstrerror inet_pton
kill
killpg lchown lstat
mkfifo mknod
mktime
\
hstrerror inet_
aton inet_
pton
kill
killpg lchown lstat
mkfifo mknod
mktime
\
mremap
nice
pathconf pause plock poll pthread_init
\
mremap
nice
pathconf pause plock poll pthread_init
\
putenv
readlink
\
putenv
readlink
\
select
setegid seteuid setgid
\
select
setegid seteuid setgid
\
...
...
configure.in
View file @
10b214c2
...
@@ -1841,7 +1841,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
...
@@ -1841,7 +1841,7 @@ AC_CHECK_FUNCS(alarm chown clock confstr ctermid execv \
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getpwent getwd \
getpriority getpwent getwd \
hstrerror inet_pton kill killpg lchown lstat mkfifo mknod mktime \
hstrerror inet_
aton inet_
pton kill killpg lchown lstat mkfifo mknod mktime \
mremap nice pathconf pause plock poll pthread_init \
mremap nice pathconf pause plock poll pthread_init \
putenv readlink \
putenv readlink \
select setegid seteuid setgid \
select setegid seteuid setgid \
...
...
pyconfig.h.in
View file @
10b214c2
...
@@ -207,6 +207,9 @@
...
@@ -207,6 +207,9 @@
/* Define to 1 if you have the `hypot' function. */
/* Define to 1 if you have the `hypot' function. */
#undef HAVE_HYPOT
#undef HAVE_HYPOT
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON
/* Define to 1 if you have the `inet_pton' function. */
/* Define to 1 if you have the `inet_pton' function. */
#undef HAVE_INET_PTON
#undef HAVE_INET_PTON
...
...
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