Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fdb423e8
Commit
fdb423e8
authored
Jan 23, 2008
by
cmiller@zippy.cornsilk.net
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
parents
60227047
2d259302
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
configure.in
configure.in
+1
-0
extra/resolveip.c
extra/resolveip.c
+4
-2
No files found.
configure.in
View file @
fdb423e8
...
@@ -837,6 +837,7 @@ AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
...
@@ -837,6 +837,7 @@ AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
AC_CHECK_FUNC
(
bind
, , AC_CHECK_LIB
(
bind
,
bind
))
AC_CHECK_FUNC
(
bind
, , AC_CHECK_LIB
(
bind
,
bind
))
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
# Check if crypt() exists in libc or libcrypt, sets LIBS if needed
AC_SEARCH_LIBS
(
crypt, crypt, AC_DEFINE
(
HAVE_CRYPT, 1,
[
crypt]
))
AC_SEARCH_LIBS
(
crypt, crypt, AC_DEFINE
(
HAVE_CRYPT, 1,
[
crypt]
))
# See if we need a library for address lookup.
AC_SEARCH_LIBS
(
inet_aton,
[
socket nsl resolv]
)
AC_SEARCH_LIBS
(
inet_aton,
[
socket nsl resolv]
)
# For the sched_yield() function on Solaris
# For the sched_yield() function on Solaris
...
...
extra/resolveip.c
View file @
fdb423e8
...
@@ -116,11 +116,13 @@ int main(int argc, char **argv)
...
@@ -116,11 +116,13 @@ int main(int argc, char **argv)
while
(
argc
--
)
while
(
argc
--
)
{
{
struct
in_addr
addr
;
ip
=
*
argv
++
;
ip
=
*
argv
++
;
if
(
my_isdigit
(
&
my_charset_latin1
,
ip
[
0
]))
/* Not compatible with IPv6! Probably should use getnameinfo(). */
if
(
inet_aton
(
ip
,
&
addr
)
!=
0
)
{
{
taddr
=
inet_addr
(
ip
)
;
taddr
=
addr
.
s_addr
;
if
(
taddr
==
htonl
(
INADDR_BROADCAST
))
if
(
taddr
==
htonl
(
INADDR_BROADCAST
))
{
{
puts
(
"Broadcast"
);
puts
(
"Broadcast"
);
...
...
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