Re: uuidgen port from FreeBSD for inclusion in OpenBSD base

2014-10-18 Thread Atticus
Nicholas, I just grabbed the license from other source in src/bin. I'll remove it from my copies, 'cause as far I'm concerned it's public domain. I'm revising it to fit the coding style and fix the problems right now. Like I said, I wrote it for myself, and didn't really do much more than that sinc

Re: uuidgen port from FreeBSD for inclusion in OpenBSD base

2014-10-18 Thread Atticus
Fair enough. I figured I'd toss it out there, just to see if anyone wanted it. I use uuidgen on FreeBSD in some of my own stuff, and figured maybe someone else would find it useful. I'm aware that the code quality is horrific, but the goal was for it to at least passably work, and let other people

uuidgen port from FreeBSD for inclusion in OpenBSD base

2014-10-18 Thread Atticus
A port of src/bin/uuidgen from FreeBSD to OpenBSD. The FreeBSD version relies on a call to uuidgen(2) in libc, which isn't in OpenBSD. I re-implemented this in the application itself (as void genuuid) vice in libc, since I'm not particularly keen to poke around in there. Source is attached below, a

Re: Patch for broken sys/dev/isa/pcppi.c (rev 1.11)

2014-09-20 Thread Atticus
ding dev/ic/pckbcvar.h > > Are you building a kernel without ukbd(4) and pckbd(4)? > > I'll add the include, I'm just curious why it seems to break for you. > > On Sat, Sep 20, 2014 at 01:17:15PM -0400, Atticus wrote: > > It failed compiling on i386 for me. I didn't get

Re: Patch for broken sys/dev/isa/pcppi.c (rev 1.11)

2014-09-20 Thread Atticus
r.h > > Are you building a kernel without ukbd(4) and pckbd(4)? > > I'll add the include, I'm just curious why it seems to break for you. > > On Sat, Sep 20, 2014 at 01:17:15PM -0400, Atticus wrote: > > It failed compiling on i386 for me. I didn't get around to t

Re: Patch for broken sys/dev/isa/pcppi.c (rev 1.11)

2014-09-20 Thread Atticus
ble given the file uses timeouts, but it > compiles fine at the moment on i386. Which platform > requires this? > > On Sat, Sep 20, 2014 at 03:00:20AM -0400, Atticus wrote: > > Revision 1.11 of pcppi.c is missing an include for sys/timeout.h, without > > which leaves sc_bel

Patch for broken sys/dev/isa/pcppi.c (rev 1.11)

2014-09-20 Thread Atticus
Revision 1.11 of pcppi.c is missing an include for sys/timeout.h, without which leaves sc_bell_timeout without a type, breaking it. Patch is below. diff -u -r1.11 pcppi.c --- pcppi.c 14 Sep 2014 14:17:25 - 1.11 +++ pcppi.c 20 Sep 2014 06:56:13 - @@ -33,6 +33,7 @@ #include #