[lazarus] CVS Updatesuy

Marc Weustink marc at dommelstein.net
Wed Jun 18 17:58:46 EDT 2003


At 16:07 18-6-2003 +0200, Marco van de Voort wrote:
> >
> > But I'll hunt for {$ifdef linux} and {$ifdef unix} conditionals and check
> > them myself. If that doesn't reveal anything, I can always try to
> > debug it then.
>
>The problem is the fd_set call cmdlinedebugger.pp:waitforhandles. The handle
>that is added is negative.
>
>That handle traces back to the tprocess object, so that one works for
>FreeBSD, but the handle is not ok.
>
>That in turn seems to be created using "createpipestreams" and is
>named FParentInputStream;
>in process.inc:47, which calls AssignPipe which is in linux.
>
>I quick checked that, and that implementation seems sane, but I have to
>rebuild FPC with debug info first before I can further get into that.
>
>?MarcoV is confused here?

Not only you, I've been looking and I don't get why the fd is negative. 
Besides that, the system created a dup for it whithout an error (otherwise 
wwe wouldn't have a PID), so what's going on here ?

Does a simple call to AssignPipe work ?

Marc







More information about the Lazarus mailing list