Explorar o código

* Tinputfile.readbuf eof bugfix

daniel %!s(int64=26) %!d(string=hai) anos
pai
achega
679ac86edd
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      compiler/files.pas

+ 5 - 2
compiler/files.pas

@@ -287,7 +287,7 @@ uses
         blockread(f,buf^,maxbufsize-1,bufsize);
       {$endif}
         buf[bufsize]:=#0;
-        endoffile:=not(bufsize=maxbufsize-1);
+        endoffile:=eof(f);
       end;
 
 
@@ -1077,7 +1077,10 @@ uses
 end.
 {
   $Log$
-  Revision 1.82  1999-01-12 14:25:26  peter
+  Revision 1.83  1999-01-13 15:02:00  daniel
+  * Tinputfile.readbuf eof bugfix
+
+  Revision 1.82  1999/01/12 14:25:26  peter
     + BrowserLog for browser.log generation
     + BrowserCol for browser info in TCollections
     * released all other UseBrowser