Re: K3b and 2.6.9?

From: Tim Fairchild
Date: Wed Sep 01 2004 - 03:29:28 EST


On Wednesday 01 Sep 2004 06:33, Linus Torvalds wrote:
> On Tue, 31 Aug 2004, ismail dönmez wrote:
> > Checked k3b on CVS and it does this now :
> >
> > int flags = O_NONBLOCK;
> > if( write )
> > flags |= O_RDWR;
> > else
> > flags |= O_RDONLY;
> > .....
> > fd = ::open( name, flags );
> >
> > which already fixes the issue. Right?
>
> I assume so, assuming that the "write" flag is set correctly. Somebody
> would need to test whether it actually works for them ;)

I can't seem to easily get the cvs to compile on my box at the moment, but
making these changes to the k3b-0.11.14 code seems to be working here, tho
k3b seems to always open as write now. Haven't looked at latest dvd+rw-tools
but they would be similar I guess...

tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/