From 9b1afa3d00303784f198324f61ccff257280adc8 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 2 Mar 2013 20:55:17 -0500 Subject: [PATCH] open rf stuff --- toolbox/os.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolbox/os.cpp b/toolbox/os.cpp index 2451e88..b7fd8d8 100644 --- a/toolbox/os.cpp +++ b/toolbox/os.cpp @@ -364,9 +364,9 @@ namespace OS } else { - auto &e = OS::Internal::FDEntry::allocate(fd, sname); - e.resource = false; - e.text = IsTextFile(sname); + auto &e = OS::Internal::FDEntry::allocate(fd, std::move(xname)); + e.resource = rf; + e.text = rf ? false : IsTextFile(sname); d0 = 0; memoryWriteWord(fd, parm + 24);