[fpc-devel]Re: Bug in AssignPipe() on Linux

Marco van de Voort marcov at stack.nl
Sun Nov 9 19:33:24 CET 2003


> >   pipi, pipo: text;
> > begin
> >   AssignPipe(pipi, pipo);
> >   perror('AssignPipe', LinuxError);
> > end.
> 
> I've tried it, with fpc 1.9.0 (binary rpm downloaded from sf).
> 
> $ fpc pipetest.pp
> Hint: End of reading config file /etc/fpc.cfg
> Free Pascal Compiler version 1.9.0 [2003/11/05] for i386
> Copyright (c) 1993-2002 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling pipetest.pp
> Linking pipetest
> 9 Lines compiled, 0.7 sec
> 
> $ ./pipetest
> AssignPipe: Success

- Do an strace, and see if there is a function that fails.




More information about the fpc-devel mailing list