• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

tarantool / tarantool / 22681756933

04 Mar 2026 05:44PM UTC coverage: 87.649% (-0.04%) from 87.685%
22681756933

push

github

Gerold103
sio: platform-agnostic getprotobyname/num()

Recently the lua/socket.c code started using getprotobynumber_r()
and getprotobyname_r(). They exist on Linux, since the
non-reentrant versions of these functions aren't thread-safe.

But on MacOS these calls don't exist. The default ones are
declared as thread-safe out of the box in `man`, but not so in
online docs.

Lets make MacOS use the normal versions of these functions and
protect them with a mutex just in case. Wouldn't be a solution for
prod, but Mac is a dev-only platform for Tarantool, so not an
issue.

Closes #12362

NO_DOC=bugfix
NO_TEST=tested
NO_CHANGELOG=the bug wasn't released yet

70409 of 118498 branches covered (59.42%)

26 of 27 new or added lines in 2 files covered. (96.3%)

69 existing lines in 18 files now uncovered.

105920 of 120845 relevant lines covered (87.65%)

1393408.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.72
/src/lua/socket.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc