Kernel quality control, or the lack thereof
Kernel quality control, or the lack thereof
Posted Dec 20, 2018 12:26 UTC (Thu) by Wol (subscriber, #4433)In reply to: Kernel quality control, or the lack thereof by luto
Parent article: Kernel quality control, or the lack thereof
That reminds me of a bug I found in Fortran 77 for Univac ... which led to data loss.
The guys at the company I was contracted to were trying to abstract out the OS-specific features, like in the OPEN statement. You could declare a file as temporary, which led to it disappearing when it got closed - quite a nice feature IF IMPLEMENTED CORRECTLY!
So, I opened a temporary file on a FUNIT, then later on re-used the same FUNIT for a permanent file. THE OS DIDN'T CLEAR THE TEMPORARY STATUS. So when I closed the permanent file, it disappeared ... :-)
Cheers,
Wol