Here’s another implementation using blockread and blockwrite. The main thing 
missing is setting the file attributes on *nix systems.

Rgds Darius 


https://github.com/daar/pmake/blob/master/pmake/pmake_utilities.pas

Verstuurd vanaf mijn iPhone

> Op 20 apr. 2019 om 11:23 heeft Joost van der Sluis <jo...@cnoc.nl> het 
> volgende geschreven:
> 
> Op 18-04-19 om 13:04 schreef James Richters:
>> How would I use this LazUtils Package with just FPC?   Is there way to 
>> download it by itself? Or would I have to Install Lazarus somewhere, go find 
>> the unit and copy it in with all my FPC Units?
> 
> Lazutils could also be installed with Fppkg. Just download the sources, 
> locate the fpmake.pp (components/lazutils) make sure that that directory is 
> the current directory and run 'fppkg install'.
> 
> Thereafter you can use the Lazutils-units in all your fpc-applications.
> 
> If you update your compiler (trunk of fixes), call 'fppkg fixbroken' to 
> re-compile the packages which are installed.
> 
> If you update to a really new version of the compiler, you have to install 
> the package again.
> 
> Regards,
> 
> Joost.
> 
> -- 
> http://lazarussupport.com - Your donation helps to push Free Pascal and 
> Lazarus forwards.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to