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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7e944dea
Commit
7e944dea
authored
Feb 09, 2001
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo
parent
b60ab443
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/violite.c
sql/violite.c
+2
-2
No files found.
sql/violite.c
View file @
7e944dea
...
@@ -110,13 +110,13 @@ Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost)
...
@@ -110,13 +110,13 @@ Vio *vio_new(my_socket sd, enum enum_vio_type type, my_bool localhost)
vio
->
fcntl_mode
=
fcntl
(
sd
,
F_GETFL
);
vio
->
fcntl_mode
=
fcntl
(
sd
,
F_GETFL
);
#elif defined(HAVE_SYS_IOCTL_H)
/* hpux */
#elif defined(HAVE_SYS_IOCTL_H)
/* hpux */
/* Non blocking sockets doesn't work good on HPUX 11.0 */
/* Non blocking sockets doesn't work good on HPUX 11.0 */
(
void
)
ioctl
(
net
->
f
d
,
FIOSNBIO
,
0
);
(
void
)
ioctl
(
s
d
,
FIOSNBIO
,
0
);
#endif
#endif
#else
/* !defined(__WIN__) && !defined(__EMX__) */
#else
/* !defined(__WIN__) && !defined(__EMX__) */
{
{
/* set to blocking mode by default */
/* set to blocking mode by default */
ulong
arg
=
0
,
r
;
ulong
arg
=
0
,
r
;
r
=
ioctlsocket
(
vio
->
sd
,
FIONBIO
,(
void
*
)
&
arg
,
sizeof
(
arg
));
r
=
ioctlsocket
(
sd
,
FIONBIO
,(
void
*
)
&
arg
,
sizeof
(
arg
));
}
}
#endif
#endif
}
}
...
...
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