[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: PATCH: 0 fds in libmcop
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-01-28 23:54:25
[Download RAW message or body]

On Sunday 28 January 2001 01:11, Stefan Westerfeld wrote:
>    Hi!
>
> On Sat, Jan 27, 2001 at 08:00:01PM -0800, Waldo Bastian wrote:
> > On Saturday 27 January 2001 08:10, Stefan Westerfeld wrote:
> > > In some situations (i.e. started via minicli), KDE apps will not get a
> > > stdin, and thus, some open and socket operations will return 0. Seems
> > > that libmcop misinterprets that as error. Patch is attached.
> > >
> > > Any comments/objections?
> >
> > Looks good. Any idea who is closing these file descriptors?
>
> The fd was closed by kdeinit. I put a one-line fix in the CVS: X11fd was
> not initialized in some places where closefds() was called (which then
> closed away stdin, but might have closed anything else, too).

Nasty bug. Thanks for fixing.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic