diff options
author | Joel Sherrill <joel@rtems.org> | 2021-03-31 10:41:25 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-03-31 10:41:25 -0500 |
commit | 49fac039a177d65ebe936073c686225e6d35f63c (patch) | |
tree | 8534ae1eb68166df9b0c035c573e2f39fb8fa08d /rtemstoolkit | |
parent | tester: Limit branch coverage percentage precision (diff) | |
download | rtems-tools-49fac039a177d65ebe936073c686225e6d35f63c.tar.bz2 |
Revert rld-process: Add named tempfile constructor
This patch reflected a temporary workaround which avoided regenerating
the temporary files for each symbol set. The need for redundant processing
is being eliminated in an upcoming patch series.
Hash: 420d7a13672991a1480d06ac02190f2976b9253b
From 420d7a13672991a1480d06ac02190f2976b9253b Mon Sep 17 00:00:00 2001
From: Alex White <alex.white@oarcorp.com>
Date: Wed, 3 Mar 2021 09:48:00 -0600
Subject: rld-process: Add named tempfile constructor
This adds a new tempfile constructor for creating a named tempfile
rather than generating the name.
Diffstat (limited to 'rtemstoolkit')
-rw-r--r-- | rtemstoolkit/rld-process.cpp | 11 | ||||
-rw-r--r-- | rtemstoolkit/rld-process.h | 7 |
2 files changed, 0 insertions, 18 deletions
diff --git a/rtemstoolkit/rld-process.cpp b/rtemstoolkit/rld-process.cpp index 4160759..30e0605 100644 --- a/rtemstoolkit/rld-process.cpp +++ b/rtemstoolkit/rld-process.cpp @@ -169,17 +169,6 @@ namespace rld _name = temporaries.get (suffix, _keep); } - tempfile::tempfile (const std::string& name, - const std::string& suffix, - bool _keep) - : _name(name + suffix), - suffix(suffix), - overridden (false), - fd (-1), - level (0) - { - } - tempfile::~tempfile () { try diff --git a/rtemstoolkit/rld-process.h b/rtemstoolkit/rld-process.h index a9902b2..fc9b7bc 100644 --- a/rtemstoolkit/rld-process.h +++ b/rtemstoolkit/rld-process.h @@ -115,13 +115,6 @@ namespace rld tempfile (const std::string& suffix = ".rldxx", bool keep = false); /** - * Get a temporary file given a name and a suffix. - */ - tempfile (const std::string& name, - const std::string& suffix, - bool _keep = false); - - /** * Clean up the temporary file. */ ~tempfile (); |