<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/hack/hack.main.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/hack/hack.main.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/hack/hack.main.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-28T13:32:41Z</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</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>Fix hack(6).</title>
<updated>2019-04-05T09:02:27Z</updated>
<author>
<name>bentley</name>
<email>bentley@openbsd.org</email>
</author>
<published>2019-04-05T09:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dc14b708bc8db640b2f06ceb37eb5b888f20cb2f'/>
<id>urn:sha1:dc14b708bc8db640b2f06ceb37eb5b888f20cb2f</id>
<content type='text'>
- Write savegames and scorefiles to the current directory instead of /var
- Save oc_name and oc_descr alongside oc_uname in all situations
- When a levitation potion times out, explicitly float down

These patches were contributed last year by "tonypony76"; thanks!

ok deraadt@, with added enthusiasm from tedu@
</content>
</entry>
<entry>
<title>Remove several casts to (char *) 0 and replace them by NULL</title>
<updated>2016-01-09T21:54:11Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-09T21:54:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6acf840eb12048fe6e815d917fa237f8a82441d8'/>
<id>urn:sha1:6acf840eb12048fe6e815d917fa237f8a82441d8</id>
<content type='text'>
Prompted and OK by tb@
</content>
</entry>
<entry>
<title>This diff is rather large, but it's just simply removing unnecessary headers</title>
<updated>2016-01-09T18:33:15Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-09T18:33:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=aed906e4b20d9afbda31247cdb6acf6f29da8819'/>
<id>urn:sha1:aed906e4b20d9afbda31247cdb6acf6f29da8819</id>
<content type='text'>
, remove some lint-style comments, add missing void to functions without args,
also some function prototypes (extern) were missing their args, so I added them
as they were defined in hack.h

OK tb@ on separate diffs
</content>
</entry>
<entry>
<title>Some basic code maintenance in games/</title>
<updated>2016-01-07T16:00:31Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-01-07T16:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=17641e3181064a4b256bd1af9f64d90af0ac5a36'/>
<id>urn:sha1:17641e3181064a4b256bd1af9f64d90af0ac5a36</id>
<content type='text'>
- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-declaration
- add and sort some headers when needed
- add straightforward pledges to some programs used at compile time

discussed with and ok mestre@
</content>
</entry>
<entry>
<title>Use __progname instead of hand-rolled parsing of argv[0].</title>
<updated>2015-12-16T14:21:50Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2015-12-16T14:21:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=466e81dfe1dddacf16759aa0b31b7d554953194d'/>
<id>urn:sha1:466e81dfe1dddacf16759aa0b31b7d554953194d</id>
<content type='text'>
Inspired by similar diffs by tobias@ and millert@.

"I like the concept" pjanzen@
ok tedu@
</content>
</entry>
<entry>
<title>replace setbuf with setvbuf, from Frederic Nowak</title>
<updated>2015-11-04T21:22:10Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-11-04T21:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=33206277febef61dfb7bd1e4e5e039c0db0c0ce3'/>
<id>urn:sha1:33206277febef61dfb7bd1e4e5e039c0db0c0ce3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Annotate funcs with __attribute__((printf(...))) and clean up the fallout:</title>
<updated>2015-09-27T05:13:11Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-27T05:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=911134d2940395eae97932b9f9c69e48c962c4de'/>
<id>urn:sha1:911134d2940395eae97932b9f9c69e48c962c4de</id>
<content type='text'>
 * lots of foo(str) --&gt; foo("%s", str) transformations
 * one totally insane foo(fmt, ap) --&gt; vfoo(fmt, ap) conversion: how did
   this ever work?
 * prefer const char[] over char* for static format strings, as it lets
   gcc check the format and eliminates an unnecessary pointer

ok beck@
</content>
</entry>
<entry>
<title>For now, these games still contain deterministic randomization (for</title>
<updated>2014-12-08T21:56:27Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-12-08T21:56:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f84032eda8c5fcbbef8d34a5cf6dceebc46aac45'/>
<id>urn:sha1:f84032eda8c5fcbbef8d34a5cf6dceebc46aac45</id>
<content type='text'>
save / replay modes of operation that have not yet been cleaned up).
OK, I've let the cat out of the bag, now some of you know you can cheat
at them..
ok millert guenther tedu
</content>
</entry>
<entry>
<title>rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and</title>
<updated>2009-10-27T23:59:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2009-10-27T23:59:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=043fbe51c197dbbcd422e917b65f765d8b5f8874'/>
<id>urn:sha1:043fbe51c197dbbcd422e917b65f765d8b5f8874</id>
<content type='text'>
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
</content>
</entry>
</feed>
