diff options
author | Chris Johns <chrisj@rtems.org> | 2014-08-05 23:01:15 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-05 23:01:15 +1000 |
commit | f40cea54f3e7ef474552136b6f4b29cdb3b5c0f3 (patch) | |
tree | 961a51588821aa1ab1f712a314c7261324b3727c /rld-cc.cpp | |
parent | 13ee8dc9506807fd3fb253b52583611754cb719e (diff) |
Fix temporary file handling and add tempfile write support.
Move the static objects into the rld-process file and change the
clean up to a call.
Add support to write to tempfiles.
Diffstat (limited to 'rld-cc.cpp')
-rw-r--r-- | rld-cc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,7 +99,7 @@ namespace rld while (true) { std::string line; - out.getline (line); + out.read_line (line); if (line.size () == 0) break; if (match_and_trim ("install: ", line, install_path)) @@ -143,7 +143,7 @@ namespace rld if (rld::verbose () >= RLD_VERBOSE_DETAILS) out.output ("cc", std::cout, true); out.open (); - out.get (path); + out.read (path); out.close (); if (rld::verbose () >= RLD_VERBOSE_DETAILS) std::cout << "cc::libpath: " << name << " -> " << path << std::endl; |