| Title | [lDOS] Termination would close all still open SFTs matching the process |
|---|---|
| Author | E. C. Masloch |
| Created | 2026-06-07 10:06:03 +0200 Jun Sun |
| State | closed |
MS-DOS v4.01 would close all SFTs belonging to the process that's terminating. In MS-DOS v5, only busy SFTs (use count = FFFFh) matching the process are closed by the process termination.
FreeDOS kernel doesn't use busy SFTs with a use count of FFFFh, and doesn't seem to have an equivalent to this loop. It leaves the use count as 0000h during open instead.
Fixed in hg fdd6a0a0fcac on 2026-03-26, now works like MS-DOS v5. SFTs are already set to the busy state by the kernel, presumably under the same conditions as in MS-DOS v5.