<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/bin/ksh/expr.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/bin/ksh/expr.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/bin/ksh/expr.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-02-20T23:59:17Z</updated>
<entry>
<title>When evaluating an arithmetical expression, for example inside $(()),</title>
<updated>2019-02-20T23:59:17Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2019-02-20T23:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0ac57757bcdd34e94e3e2d3b05ea4601a6b10e8a'/>
<id>urn:sha1:0ac57757bcdd34e94e3e2d3b05ea4601a6b10e8a</id>
<content type='text'>
never do substitution (neither parameter, nor command, nor arithmetic,
nor tilde substitution) on the values of any variables encountered
inside the expression, but do recursively perform arithmetical
evaluation of subexpressions as required.  This makes behaviour
more consistent, without hindering any behaviour promised in the
manual page.

A quirk originally reported by Andy Chu &lt;andychup at gmail dot com&gt;
was that in the past, when encountering an array index, the shell
would not only do evaluation, but also substitution on the array
index, even though substitution would not be done on the expression
in general.

tobias@ contributed to initial efforts of understanding the quirk.
patch tested in a bulk build by naddy@
"please commit" deraadt@
</content>
</entry>
<entry>
<title>Support 64 bit integers on 32 bit architectures.</title>
<updated>2018-04-09T17:53:36Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2018-04-09T17:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=517d3880010591498a8b274d9d8fd7e787d73ebe'/>
<id>urn:sha1:517d3880010591498a8b274d9d8fd7e787d73ebe</id>
<content type='text'>
No binary change on amd64 and there should be no differences on any
other 64 bit architecture either (because long = int64_t).

ok cheloha, tb
</content>
</entry>
<entry>
<title>rename global "e" to genv to avoid accidental shadowing and aliasing.</title>
<updated>2015-12-30T09:07:00Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-12-30T09:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5ae5b57e8756ce2d6e4a55309433063c10ab17c5'/>
<id>urn:sha1:5ae5b57e8756ce2d6e4a55309433063c10ab17c5</id>
<content type='text'>
ok millert nicm tb
</content>
</entry>
<entry>
<title>Move string.h include from sh.h to the files that use it.</title>
<updated>2015-10-19T14:42:16Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-10-19T14:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=56018212567b00acab49a858d7374adbff28623e'/>
<id>urn:sha1:56018212567b00acab49a858d7374adbff28623e</id>
<content type='text'>
ok nicm@
</content>
</entry>
<entry>
<title>Move limits.h include from sh.h to the files that actually need it. No</title>
<updated>2015-10-19T14:03:21Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-10-19T14:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dbfe7957338c733c83f98799a8070ba9fe3dfc97'/>
<id>urn:sha1:dbfe7957338c733c83f98799a8070ba9fe3dfc97</id>
<content type='text'>
binary change.

ok nicm@
</content>
</entry>
<entry>
<title>Apply style(9) to header includes.</title>
<updated>2015-10-19T02:15:45Z</updated>
<author>
<name>mmcc</name>
<email>mmcc@openbsd.org</email>
</author>
<published>2015-10-19T02:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b608f594c7a79ab9c9a8aa47be909a64618dc514'/>
<id>urn:sha1:b608f594c7a79ab9c9a8aa47be909a64618dc514</id>
<content type='text'>
ok nicm@
</content>
</entry>
<entry>
<title>Make errorf() and bi_errorf() handle a NULL argument.</title>
<updated>2015-09-22T21:50:40Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-09-22T21:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=63ca93ea7fb9f6b99a9b84479a726160bfc45235'/>
<id>urn:sha1:63ca93ea7fb9f6b99a9b84479a726160bfc45235</id>
<content type='text'>
From Michael McConville; OK nicm@
</content>
</entry>
<entry>
<title>Last of the (thing *)0 -&gt; NULL, from Michael McConville. No binary</title>
<updated>2015-09-18T07:28:24Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2015-09-18T07:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f7654a50ff54ebb5a711508384c12e53a919d708'/>
<id>urn:sha1:f7654a50ff54ebb5a711508384c12e53a919d708</id>
<content type='text'>
change.
</content>
</entry>
<entry>
<title>Remove unnecessary casts, from Michael McConville. No binary change.</title>
<updated>2015-09-17T14:21:33Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2015-09-17T14:21:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8c046d2474663213fa8b65bf0e2021004b6ccd6f'/>
<id>urn:sha1:8c046d2474663213fa8b65bf0e2021004b6ccd6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>correct spelling of NULL from (char *)0. from Michael McConville.</title>
<updated>2015-09-15T18:15:05Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-09-15T18:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=355ffa75fd084bb79d1c10f4017a9f357a1c074c'/>
<id>urn:sha1:355ffa75fd084bb79d1c10f4017a9f357a1c074c</id>
<content type='text'>
ok md5
</content>
</entry>
</feed>
