Browse Source

* assignpipe fix

marco 22 years ago
parent
commit
290dc30c52
1 changed files with 5 additions and 2 deletions
  1. 5 2
      fcl/unix/pipes.inc

+ 5 - 2
fcl/unix/pipes.inc

@@ -25,12 +25,15 @@ Uses
 Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
 
 begin
-  Result := AssignPipe (Inhandle,OutHandle);
+  Result := (AssignPipe (Inhandle,OutHandle)<>-1);
 end;
 
 {
   $Log$
-  Revision 1.5  2002-09-07 15:15:29  peter
+  Revision 1.6  2003-11-14 11:08:50  marco
+   * assignpipe fix
+
+  Revision 1.5  2002/09/07 15:15:29  peter
     * old logs removed and tabs fixed
 
 }