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

Pedro Lopez-Cabanillas plcl at telefonica.net
Sun Nov 9 19:13:01 CET 2003


Jeff Pohlmeyer wrote:
> Could someone else please try this with the Linux 1.9.0 compiler,
> and let me know the results ?
>
>
> program pipetest;
> uses errors, unix;
> var
>   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

Regards,
Pedro

-- 
ALSA Library Bindings for Pascal
http://alsapas.alturl.com





More information about the fpc-devel mailing list