The shrinking role of ETXTBSY
The shrinking role of ETXTBSY
Posted Aug 31, 2021 12:59 UTC (Tue) by Wol (subscriber, #4433)In reply to: The shrinking role of ETXTBSY by dancol
Parent article: The shrinking role of ETXTBSY
Pr1mos added the ability to rename an open file.
Dunno exactly how it worked, but it was something like the - if the linker hit an open file - it knew the magic sauce to rename it to move it out the way, then write a new one.
Same idea as *nix's ability to delete an open file then put a new one in its place - anything which has the old file open will continue to use that until it closes it.
Cheers,
Wol
