2004-09-01 08:27:56

by Tim Fairchild

[permalink] [raw]
Subject: Re: K3b and 2.6.9?

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