mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-18 15:26:20 +08:00
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:420d7a1367
From420d7a1367
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.
This commit is contained in:
@@ -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
|
||||
|
@@ -114,13 +114,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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user