Przeglądaj źródła

POpen opened files should not be rewritten

michael 26 lat temu
rodzic
commit
d3b493a609
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      docs/linuxex/ex37.pp

+ 0 - 1
docs/linuxex/ex37.pp

@@ -21,7 +21,6 @@ begin
   close (f);
   chmod ('test21a',octal (755));
   popen (f,'./test21a arg1 arg2','W');
-  rewrite (f);
   if linuxerror<>0 then 
      writeln ('error from POpen : Linuxerror : ', Linuxerror);
   for i:=1 to 10 do