Parcourir la source

POpen opened files should not be rewritten

michael il y a 26 ans
Parent
commit
d3b493a609
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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