Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
6ada3f28
Commit
6ada3f28
authored
13 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:mailru/tarantool
parents
c452cb5b
573a843a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/CMakeLists.txt
+5
-2
5 additions, 2 deletions
core/CMakeLists.txt
core/replication.m
+1
-1
1 addition, 1 deletion
core/replication.m
with
6 additions
and
3 deletions
core/CMakeLists.txt
+
5
−
2
View file @
6ada3f28
...
...
@@ -71,14 +71,17 @@ add_library(core STATIC ${common_sources})
add_dependencies
(
core generate_headers luajit
)
set_target_properties
(
core PROPERTIES COMPILE_FLAGS
"
${
core_cflags
}
"
)
set
(
common_libraries cfg core ev coro gopt misc objc luajit dl
)
set
(
common_libraries cfg core ev coro gopt misc objc luajit
)
if
(
TARGET_OS_LINUX
)
set
(
common_libraries
${
common_libraries
}
dl
)
endif
()
if
(
ENABLE_GCOV
)
set
(
common_libraries
${
common_libraries
}
gcov
)
endif
()
if
(
ENABLE_BACKTRACE AND HAVE_BFD
)
set
(
common_libraries
${
common_libraries
}
bfd
dl
)
set
(
common_libraries
${
common_libraries
}
bfd
)
if
(
ENABLE_STATIC
)
include
(
FindZLIB
)
set
(
common_libraries
${
common_libraries
}
${
ZLIB_LIBRARIES
}
iberty
)
...
...
This diff is collapsed.
Click to expand it.
core/replication.m
+
1
−
1
View file @
6ada3f28
...
...
@@ -245,7 +245,7 @@ acceptor_handler(void *data __attribute__((unused)))
fiber_io_start(fiber->fd, EV_READ);
fiber_io_yield();
/* accept connection */
client_sock = accept(fiber->fd,
&
addr,
&addrlen);
client_sock = accept(fiber->fd,
(struct sockaddr*)
&
addr,
&addrlen);
if (client_sock == -1) {
if (errno == EAGAIN
&&
errno == EWOULDBLOCK) {
continue;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment