On 02/02/2013 08:51 PM, John Spencer wrote: > here's my version: > > oops, forgot to pass O_RDWR, here's a fixup