<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/csh/func.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/csh/func.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/csh/func.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:34:58Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:34:58Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3aaa63eb46949490a39db9c6d82aacc8ee5d8551'/>
<id>urn:sha1:3aaa63eb46949490a39db9c6d82aacc8ee5d8551</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>blkfree() takes no action for NULL pointer so callers can avoid checking.</title>
<updated>2018-09-08T01:28:39Z</updated>
<author>
<name>miko</name>
<email>miko@openbsd.org</email>
</author>
<published>2018-09-08T01:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bcb7da30103e8a316f47fd62062fbdf1c1288c59'/>
<id>urn:sha1:bcb7da30103e8a316f47fd62062fbdf1c1288c59</id>
<content type='text'>
ok jca@
</content>
</entry>
<entry>
<title>No need to declare variable name as static in dounsetenv(). Also, drop a</title>
<updated>2017-12-18T19:12:24Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2017-12-18T19:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=49fb0940778b2e5960a5ebbcc287ca4b271a2674'/>
<id>urn:sha1:49fb0940778b2e5960a5ebbcc287ca4b271a2674</id>
<content type='text'>
redundant call to free() since name is always freed upon return.

From Michael W. Bombardieri, with some tweaks by myself.
</content>
</entry>
<entry>
<title>Passing NULL to free() is fine; from Michael W. Bombardieri.</title>
<updated>2017-12-16T10:27:21Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2017-12-16T10:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d99a06615257d2b0453541ec619344fb2a5adaf0'/>
<id>urn:sha1:d99a06615257d2b0453541ec619344fb2a5adaf0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix pasting of long (&gt;BUFSIZ) lines in csh with filec enabled. NUL-terminating</title>
<updated>2017-08-30T06:42:21Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2017-08-30T06:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a8db713fa6a147be51bf821439e046be92b4e2d'/>
<id>urn:sha1:4a8db713fa6a147be51bf821439e046be92b4e2d</id>
<content type='text'>
the input buffer instructs csh that the buffer contains a complete command. This
is wrong and should only happen when buffer is not full, otherwise more data has
to be read in order form a complete command.

While here, do not print the prompt again when the input exceeds the input
buffer and while inserting a line continuation (backslash).
</content>
</entry>
<entry>
<title>Postpone printing of prompt if filec is enabled in csh. Any I/O should be</title>
<updated>2017-07-26T19:15:09Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2017-07-26T19:15:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fc253c1da959f2b9b44fae7dcf06027f7ad7c0de'/>
<id>urn:sha1:fc253c1da959f2b9b44fae7dcf06027f7ad7c0de</id>
<content type='text'>
performed first when canonical mode has been disabled on the tty just like ksh
does. Discovered by the regress tests.

Joint work with bluhm@, ok deraadt@
</content>
</entry>
<entry>
<title>Don't reinvent rlim_t; when printing it use %llu and cast to</title>
<updated>2016-08-14T19:46:31Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-08-14T19:46:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e463036370d1c006df2fc9f0e8753be3aa3288c0'/>
<id>urn:sha1:e463036370d1c006df2fc9f0e8753be3aa3288c0</id>
<content type='text'>
unsigned long long

ok natano@ tedu@
</content>
</entry>
<entry>
<title>Replace handrolled xfree() function by directly using free(3)</title>
<updated>2015-12-26T13:48:38Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-26T13:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=acdb32028ee917f8269a9fd16c4817e3a7408b91'/>
<id>urn:sha1:acdb32028ee917f8269a9fd16c4817e3a7408b91</id>
<content type='text'>
OK mmcc@
</content>
</entry>
<entry>
<title>Clean up cruft made visible by the NLS unifdefing:</title>
<updated>2015-10-26T16:27:04Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2015-10-26T16:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9abb453fef52149f4b7fb9f2eab78f7ae735f4dc'/>
<id>urn:sha1:9abb453fef52149f4b7fb9f2eab78f7ae735f4dc</id>
<content type='text'>
* remove setlocale() calls
* remove write-only variable AsciiOnly
* remove now unused string constants STRLANG, STRLC_CTYPE
* remove hardcoded support for ISO8859-1

ok millert@
</content>
</entry>
<entry>
<title>unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)</title>
<updated>2015-10-26T15:01:15Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2015-10-26T15:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c38c44c77019175ab39d2b6c2d7c32caedd63b6a'/>
<id>urn:sha1:c38c44c77019175ab39d2b6c2d7c32caedd63b6a</id>
<content type='text'>
and remove a few unused defines; no binary changes; ok tedu@ zhuk@
</content>
</entry>
</feed>
