<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/include/compat/sys/socket.h, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2022-04-16T06:59:33+00:00</updated>
<entry>
<title>Fix unreachable nc portability shim</title>
<updated>2022-04-16T06:59:33+00:00</updated>
<author>
<name>Sebastian Blunt</name>
<email>git@sebastianblunt.com</email>
</author>
<published>2022-04-16T06:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=fe903fb7c59600f7679b2afb0d33f4a0c3f93ae2'/>
<id>urn:sha1:fe903fb7c59600f7679b2afb0d33f4a0c3f93ae2</id>
<content type='text'>
This fixes nc failing to run on darwin due to it incorrectly setting the
linux-specific SOCK_NONBLOCK flag on connect.

nc already had a portability shim in apps/nc/compat/sys/socket.h, which
kicks in if SOCK_NONBLOCK is undefined. But that header includes
include/compat/sys/socket.h, which also has a portability shim that
defines a default value for SOCK_NONBLOCK if it's undefined. Thus the
first portability shim was unreachable.

Fixes this by moving the NEED_SOCKET_FLAGS flag into the outer shim, and
having the inner shim activate if NEED_SOCKET_FLAGS is defined.

This closes https://github.com/libressl-portable/portable/issues/631
</content>
</entry>
<entry>
<title>include pipe2/socketpair compat for macOS</title>
<updated>2017-01-15T22:00:16+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@rapid7.com</email>
</author>
<published>2017-01-15T10:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab'/>
<id>urn:sha1:dfb6b11e5a5ba21c6658d87b4df83c2a05d2deab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixup windows and older linux builds</title>
<updated>2015-09-13T23:57:29+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-09-13T23:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=696ba18c6ab02ded424aa4d87712064eba82f804'/>
<id>urn:sha1:696ba18c6ab02ded424aa4d87712064eba82f804</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow nc to build on linux and os x</title>
<updated>2015-09-13T23:42:15+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-09-13T16:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=8c90be2a29053ac613dfe0c11a423da16c7c4520'/>
<id>urn:sha1:8c90be2a29053ac613dfe0c11a423da16c7c4520</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add initial CMake and Visual Studio build support</title>
<updated>2015-07-21T17:08:18+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2014-07-11T03:06:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=5d8a1cf7155130bd8101090d7e1d0c2f90d9b123'/>
<id>urn:sha1:5d8a1cf7155130bd8101090d7e1d0c2f90d9b123</id>
<content type='text'>
This moves the compatibility include files from include to
include/compat so we can use the awful MS C compiler
&lt;../include/&gt; trick to emulate the GNU #include_next extension.

This also removes a few old compat files we do not need anymore.
</content>
</entry>
</feed>
