Browse Source

Corrected wrong mode error in fdopen

michael 26 years ago
parent
commit
956fa8015c
1 changed files with 5 additions and 2 deletions
  1. 5 2
      rtl/linux/linux.pp

+ 5 - 2
rtl/linux/linux.pp

@@ -1273,7 +1273,7 @@ end;
 Function fdOpen(pathname:string;flags:longint):longint;
 begin
   pathname:=pathname+#0;
-  fdOpen:=Sys_Open(@pathname[1],flags,0);
+  fdOpen:=Sys_Open(@pathname[1],flags,438);
   LinuxError:=Errno;
 end;
 
@@ -3520,7 +3520,10 @@ End.
 
 {
   $Log$
-  Revision 1.28  1999-01-20 13:29:09  peter
+  Revision 1.29  1999-02-02 21:19:54  michael
+  Corrected wrong mode error in fdopen
+
+  Revision 1.28  1999/01/20 13:29:09  peter
     * utimbuf alias added
 
   Revision 1.27  1998/12/11 18:08:57  peter