[fpc-pascal] Methods for autoupdating fpc programs?

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Oct 5 18:58:06 CEST 2015



Am 2015-10-04 um 19:11 schrieb micsch at gmail.com:
>> But that makes no sense to me. If the OS is designed to potentially remove
>> running programs (or parts of it) from memory it cannot allow overwriting
>> the file on disk in any case. When it does so, it cannot remove parts from
>> memory because it may not be available on disk anymore. So it must disallow
>> the disk change from the beginning, otherwise it may not be able to remove
>> anything.
>>
> http://askubuntu.com/questions/44339/how-does-updating-running-application-binaries-during-an-upgrade-work
>
> http://unix.stackexchange.com/questions/49299/what-is-linux-doing-differently-that-allows-me-to-remove-replace-files-where-win
>
> http://superuser.com/questions/251129/moving-a-file-while-its-in-use-how-does-it-work
>

In these links I didn't find any explanation that tell me if (and if yes, why) it *sometimes* does not work.




More information about the fpc-pascal mailing list