<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/include/compat/sys, branch v4.2.1</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=v4.2.1</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=v4.2.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2025-04-16T09:26:34+00:00</updated>
<entry>
<title>change prefix for fstat</title>
<updated>2025-04-16T09:26:34+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2025-04-16T09:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=9ba4b33d668230aa0c453f5c225dc93ccc007985'/>
<id>urn:sha1:9ba4b33d668230aa0c453f5c225dc93ccc007985</id>
<content type='text'>
</content>
</entry>
<entry>
<title>switch to using high bit for fd detection of file/socket</title>
<updated>2025-04-12T21:59:51+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2025-04-12T21:59:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=78b86a2af698d771a4db5286a4222c92d074a6da'/>
<id>urn:sha1:78b86a2af698d771a4db5286a4222c92d074a6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Attempt to fix 2038 problem with MSVC</title>
<updated>2024-10-06T23:56:01+00:00</updated>
<author>
<name>Theo Buehler</name>
<email>tb@openbsd.org</email>
</author>
<published>2024-08-02T19:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=3467d6f282146d6e84d5d840d532fa6ec4536d64'/>
<id>urn:sha1:3467d6f282146d6e84d5d840d532fa6ec4536d64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move attribute shims</title>
<updated>2023-07-05T12:08:32+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-05T12:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=3a757272d028834c00924c08156ca0b2dfbc6a5c'/>
<id>urn:sha1:3a757272d028834c00924c08156ca0b2dfbc6a5c</id>
<content type='text'>
There's not a great place for these, but since they are internal, we can
just move them to the most common header.
</content>
</entry>
<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>Add queue.h tree.h _null.h</title>
<updated>2020-09-13T12:56:34+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2020-09-13T03:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=461ec45335747276503fd6cb863d51782127919e'/>
<id>urn:sha1:461ec45335747276503fd6cb863d51782127919e</id>
<content type='text'>
Import queue.h tree.h _null.h header files from OpenBSD upstream
since x509_issuer_cache.c requires them.
</content>
</entry>
<entry>
<title>add __dead__ annotation support</title>
<updated>2019-02-09T15:09:36+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2019-02-09T15:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=535246269d4a7d8338320f8e6666ca887718c5d0'/>
<id>urn:sha1:535246269d4a7d8338320f8e6666ca887718c5d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>__warn_references: tweak assembly for "gnu.warning" section</title>
<updated>2018-05-19T16:38:50+00:00</updated>
<author>
<name>Sergei Trofimovich</name>
<email>slyfox@gentoo.org</email>
</author>
<published>2018-05-19T16:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=787d8d240bbeaa812bcf37deeedb3c467be468a3'/>
<id>urn:sha1:787d8d240bbeaa812bcf37deeedb3c467be468a3</id>
<content type='text'>
On some targets ';' (like hppa) is treated as a comment
in assembly files. This occasionally causes the following
assembly failures:

```
Error: can't resolve `.gnu.warning.EVP_DecryptFinal'
{.gnu.warning.EVP_DecryptFinal section} - `.Ltext0' {.text section}
```

Note how branch (or other reference) attempts to cross the
boundary across two section types: '.text' and '.gnu.warning'.

Tobias Ulmer notes that openbsd already uses newlines
for similar macro:

https://github.com/openbsd/src/blob/master/sys/arch/hppa/include/cdefs.h

This change switches from ';' to newline as well.
Tested on hppa2.0 and x86_64.

Reported-by: Jeroen Roovers
Bug: https://bugs.gentoo.org/656104
Signed-off-by: Sergei Trofimovich &lt;slyfox@gentoo.org&gt;
</content>
</entry>
<entry>
<title>add clock_gettime for macos 10.11 and earlier</title>
<updated>2018-03-23T02:04:43+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2018-03-23T01:50:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=987aa6a084312be8501bdda42b0e5aab3b84d52a'/>
<id>urn:sha1:987aa6a084312be8501bdda42b0e5aab3b84d52a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add compat bits for libtls on Windows</title>
<updated>2018-02-25T12:56:05+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2018-02-24T16:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=3681d02253d29229e265720984ce81a35206de4c'/>
<id>urn:sha1:3681d02253d29229e265720984ce81a35206de4c</id>
<content type='text'>
</content>
</entry>
</feed>
