From 617c1514086614269ee356b1409385bfc564516e Mon Sep 17 00:00:00 2001 From: Ry Date: Sat, 23 Mar 2024 17:30:44 -0700 Subject: [PATCH] File extension by writing past the end of it --- RYFS.okm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RYFS.okm b/RYFS.okm index b4279d0..3d64c7e 100644 --- a/RYFS.okm +++ b/RYFS.okm @@ -382,6 +382,9 @@ MODULE RYFS; i := i + 1; END; + (* write out the changes to disk *) + write_sector(temp, struct^.diskId, PTROF(TEMP_SECTOR_BUF)); + (* return the new sector *) RETURN(temp); ELSE