Skip to content

Commit

Permalink
File extension by writing past the end of it
Browse files Browse the repository at this point in the history
  • Loading branch information
ry755 committed Mar 24, 2024
1 parent 73a1750 commit 617c151
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RYFS.okm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 617c151

Please sign in to comment.