<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util, branch CLI_2.4.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.4.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.4.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-05-11T18:33:03Z</updated>
<entry>
<title>Optimize CloseAllFdsOnExec for large MaxOpenFiles</title>
<updated>2023-05-11T18:33:03Z</updated>
<author>
<name>say</name>
<email>say@yandex-team.com</email>
</author>
<published>2023-05-11T18:33:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7df1977a606ccd826561ecb88ee0f35ddf92e0f9'/>
<id>urn:sha1:7df1977a606ccd826561ecb88ee0f35ddf92e0f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mute -Wdeprecated-declarations error when thread sanitizer enabled on darwin platform</title>
<updated>2023-05-09T20:03:47Z</updated>
<author>
<name>hiddenpath</name>
<email>hiddenpath@yandex-team.com</email>
</author>
<published>2023-05-09T20:03:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a2b07bdd8ae0998c6f7b5ec402a830da91198ac5'/>
<id>urn:sha1:a2b07bdd8ae0998c6f7b5ec402a830da91198ac5</id>
<content type='text'>
При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```&lt;ucontext.h&gt;``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6).


Без должных изменений, сборка падает с ошибкой.
```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
In file included from /Users/hiddenpath/arcadia/util/system/context.h:46:
/Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
#error The deprecated ucontext routines require _XOPEN_SOURCE to be defined
 ^
In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
/Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext'
        makecontext(&amp;Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext'
        swapcontext(&amp;Ctx_, &amp;next-&gt;Ctx_);
        ^
5 errors generated.
Failed</content>
</entry>
<entry>
<title>Remove using of extra semicolons in util</title>
<updated>2023-05-04T07:28:45Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-05-04T07:28:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6bccf8a6c51dfc4e563317584ee71ea0637c452a'/>
<id>urn:sha1:6bccf8a6c51dfc4e563317584ee71ea0637c452a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Workaround -Wunused-but-set-variable in Y_DBGTRACE macro</title>
<updated>2023-05-03T09:13:47Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2023-05-03T09:13:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d61cfa00fcd6078cabd02c099e257ec215c496c5'/>
<id>urn:sha1:d61cfa00fcd6078cabd02c099e257ec215c496c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[util] Fix typo in IThreadPool descr</title>
<updated>2023-04-27T19:57:02Z</updated>
<author>
<name>shaprunovk</name>
<email>shaprunovk@yandex-team.com</email>
</author>
<published>2023-04-27T19:57:02Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=806a96c81a35a7dcbf6e732d4048254c4ac343b4'/>
<id>urn:sha1:806a96c81a35a7dcbf6e732d4048254c4ac343b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify system utime.h include</title>
<updated>2023-04-27T08:49:01Z</updated>
<author>
<name>spreis</name>
<email>spreis@yandex-team.com</email>
</author>
<published>2023-04-27T08:49:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11'/>
<id>urn:sha1:e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11</id>
<content type='text'>
There is no reason now to hide include behind macro: we have sysincls properly working for years</content>
</entry>
<entry>
<title>Add clarifying comment about the behavior of RemoveRecursive is file or directory does not exist.</title>
<updated>2023-04-24T09:06:24Z</updated>
<author>
<name>akhropov</name>
<email>akhropov@yandex-team.com</email>
</author>
<published>2023-04-24T09:06:24Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=69f46d405f28213e905c59854e9a30dc57ee6792'/>
<id>urn:sha1:69f46d405f28213e905c59854e9a30dc57ee6792</id>
<content type='text'>
</content>
</entry>
<entry>
<title>External build system generator release 29</title>
<updated>2023-04-19T11:10:48Z</updated>
<author>
<name>robot-ya-builder</name>
<email>robot-ya-builder@yandex-team.com</email>
</author>
<published>2023-04-19T11:10:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=887be65957040bac40fa22a2af242de88920eba7'/>
<id>urn:sha1:887be65957040bac40fa22a2af242de88920eba7</id>
<content type='text'>
Update tools: yexport</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-04-11T09:23:05Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-04-11T09:23:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e892a15494d3480c4a211b7f60fc86e5fcc2be37'/>
<id>urn:sha1:e892a15494d3480c4a211b7f60fc86e5fcc2be37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2023-03-30T17:34:24Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2023-03-30T17:34:24Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2efd02334200b62d75d054758438b588f323c149'/>
<id>urn:sha1:2efd02334200b62d75d054758438b588f323c149</id>
<content type='text'>
</content>
</entry>
</feed>
