<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcurses, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcurses?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcurses?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-10T20:16:08Z</updated>
<entry>
<title>Don't return ERR if resize didn't change size</title>
<updated>2021-03-10T20:16:08Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2021-03-10T20:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e283eadffc2fbc7023a7e8ddc1f991ccc0a677a0'/>
<id>urn:sha1:e283eadffc2fbc7023a7e8ddc1f991ccc0a677a0</id>
<content type='text'>
This is a backport of the ncurses 5.9 20120707 patch.
Previously, getch() would return ERR if SIGWINCH was received but
the window didn't actually change size.  This can happen, for
example, when the xterm font is changed.  OK tb@
</content>
</entry>
<entry>
<title>switch over ncurses to --enable-const</title>
<updated>2020-12-14T22:05:31Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-12-14T22:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ba472a4f96d76f789a7b9f6ebd9e3a5ff2fe3101'/>
<id>urn:sha1:ba472a4f96d76f789a7b9f6ebd9e3a5ff2fe3101</id>
<content type='text'>
ncurses has a configure option that adds a few more consts to its
headers by way of the NCURSES_CONST define.  Starting with version
6.0, this has become the default.  OpenBSD is still on ncurses 5.7,
but FreeBSD and Linux have moved on.  Enable the additional consts
to eliminate compiler warnings when sharing code with other platforms.

ok deraadt@ millert@
</content>
</entry>
<entry>
<title>Remove redundant code</title>
<updated>2020-06-05T19:50:59Z</updated>
<author>
<name>denis</name>
<email>denis@openbsd.org</email>
</author>
<published>2020-06-05T19:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1185c6907bdef13d649720bbb2070fed64418e6e'/>
<id>urn:sha1:1185c6907bdef13d649720bbb2070fed64418e6e</id>
<content type='text'>
Reported by Prof. Dr. Steffen Wendzel &lt;wendzel @ hs-worms . de&gt;,
thanks!

OK martijn@ sthen@
</content>
</entry>
<entry>
<title>Add a fix from ncurses 20200523 via Hiltjo Posthuma that prevents</title>
<updated>2020-05-29T20:46:13Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2020-05-29T20:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d0e5c0ea53c939a69ea4216ece58b9f73c471c22'/>
<id>urn:sha1:d0e5c0ea53c939a69ea4216ece58b9f73c471c22</id>
<content type='text'>
ncurses passing strings to tputs() that look like BSD padding when using
the rep terminfo(5) capability (with BSD_TPUTS which we and upstream
both have enabled). Upstream change:

+ add a check in EmitRange to guard against repeat_char emitting digits
  which could be interpreted as BSD-style padding when --enable-bsdpad
  is configured (report/patch by Hiltjo Posthuma).

ok millert
</content>
</entry>
<entry>
<title>Fix a segmentation fault in ncurses.</title>
<updated>2019-11-15T14:45:37Z</updated>
<author>
<name>fcambus</name>
<email>fcambus@openbsd.org</email>
</author>
<published>2019-11-15T14:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cd1d31776778e1642057fd799144422010ed5cb0'/>
<id>urn:sha1:cd1d31776778e1642057fd799144422010ed5cb0</id>
<content type='text'>
This is a backported patch [1] from ncurses-5.7-20100501. It takes begx
and begy values into account when calculating lengths, in order to avoid
writing data past the end of the buffer when calling memset in wredrawln().

From upstream NEWS file:

20100501
        + correct limit-check in wredrawln, accounting for begy/begx values
          (patch by David Benjamin).

[1] https://lists.gnu.org/archive/html/bug-ncurses/2010-04/msg00017.html

OK nicm@
</content>
</entry>
<entry>
<title>Also remove tbl files from CLEANFILES now they are not generated.</title>
<updated>2019-02-13T15:10:40Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2019-02-13T15:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=95ce957a8c64da4a3c2b12937e4548d5e2f3a79d'/>
<id>urn:sha1:95ce957a8c64da4a3c2b12937e4548d5e2f3a79d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove obsolete tbl suffix from ncurses man pages, no objections from</title>
<updated>2019-02-13T07:18:57Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2019-02-13T07:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d5be5a4dcd6f69b998ffcd0eda4550645ac36f26'/>
<id>urn:sha1:d5be5a4dcd6f69b998ffcd0eda4550645ac36f26</id>
<content type='text'>
millert.
</content>
</entry>
<entry>
<title>Remove obsolete tbl suffix from ncurses man pages, no objections from</title>
<updated>2019-02-13T07:11:21Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2019-02-13T07:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=463531391e852f68b86dc89a3d2a537171a16063'/>
<id>urn:sha1:463531391e852f68b86dc89a3d2a537171a16063</id>
<content type='text'>
millert.
</content>
</entry>
<entry>
<title>Record an inter-library dependency on libcurses in libedit and libreadline,</title>
<updated>2018-11-14T20:43:48Z</updated>
<author>
<name>sthen</name>
<email>sthen@openbsd.org</email>
</author>
<published>2018-11-14T20:43:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b5769cf657399de4547d7e4bd1882c9ad226a9f2'/>
<id>urn:sha1:b5769cf657399de4547d7e4bd1882c9ad226a9f2</id>
<content type='text'>
avoiding runtime failures on architectures using ld.lld. Also add a note to
libcurses shlib_version reminding about bumps (as done with libcrypto/libssl).

Thanks guenther@ for suggestions of tests involving library bumps and jca@
for doing these tests and hint about DPADD.

Looks good kettenis@, ok jca@
</content>
</entry>
<entry>
<title>Do not cast (signed char) CANCELLED_BOOLEAN to (char) for comparison</title>
<updated>2018-06-28T15:34:10Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-06-28T15:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd190ef0c289d807186577694c041994e1a50f28'/>
<id>urn:sha1:fd190ef0c289d807186577694c041994e1a50f28</id>
<content type='text'>
against (signed char) variable.  Modern "genius" compilers simply
delete the code on unsigned char architectures, amazed they feel
lattitude to convert undefined local behaviour into much larger scope
undefined behaviour (glad to have faster but incorrect libcurses..)
ok millert
</content>
</entry>
</feed>
