Re: requests for perl XS code

2010-10-17 Thread Marc Espie
On Sat, Oct 16, 2010 at 03:54:50PM -0700, Philip Guenther wrote: On 10/16/10, Marc Espie es...@nerim.net wrote: I could use bundled code to do the following: 1/ direct interface to mkstemp so that we don't have to use the atrocious File::Temp big monstrosity. I've sent Marc a tiny

Re: update pms driver

2010-10-17 Thread Alexandr Shadchin
On Sun, Oct 17, 2010 at 06:34:23AM -0400, Kenneth R Westerback wrote: On Sat, Oct 16, 2010 at 09:00:43PM +0600, Alexandr Shadchin wrote: On Sat, Oct 16, 2010 at 03:42:10PM +0100, Nicholas Marriott wrote: pmsinput could have a newline after the return type like the rest, otherwise looks

aucat: remove few useless macros

2010-10-17 Thread Alexandre Ratchov
this diff is to slightly clean up aucat headers and shouldn't change its behavior. Since there are a lot of changes, it's worth testing it, imo. -- Alexandre Index: lib/libsndio/aucat.c === RCS file: /cvs/src/lib/libsndio/aucat.c,v

Re: vfprintf.c: use ssize_t for ssizearg

2010-10-17 Thread Philip Guenther
On Sat, Oct 16, 2010 at 6:41 PM, Claus Assmann ca+openbsd_t...@esmtp.org wrote: Should the type of ssizearg be ssize_t? Yep, at least as long as it exists as a distinct member in that union. I see FreeBSD at least has tossed it and uses the size_t member to store ssize_t values, which is indeed

usb xfer timeout issue

2010-10-17 Thread Jacob Meuser
when a usb transfer (xfer) is started, the underlying hci driver adds a timeout that adds a usb task that aborts the xfer. if an xfer is synchronous, the upper usb layer sleeps waiting for the xfer to complete. it will also be woken up by the above mentioned abort task if the xfer times out.

pflog alignment fix

2010-10-17 Thread Henning Brauer
so just pad the header to be a mutiple of 8 bytes, makes pflogd happy on 64bit archs Index: if_pflog.h === RCS file: /cvs/src/sys/net/if_pflog.h,v retrieving revision 1.17 diff -u -p -r1.17 if_pflog.h --- if_pflog.h 21 Sep 2010

Re: requests for perl XS code

2010-10-17 Thread Damien Miller
On Sun, 17 Oct 2010, Marc Espie wrote: Mostly some XS wrapper around the recvmsg/CMSG_DATA part. Then some perl glue that would allow one to grab those data, and gets the fds from it. It should probably only extract the msgs, let normal stuff grab non out-of-band data IO, and create an