diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-07 10:47:00 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-07 10:47:00 +1000 |
commit | 32cd4fcc17bbd969410f5f8d165cb7793cce972c (patch) | |
tree | e6b9f26a37e770da5dd4f37086d90a0753118007 /linkers/rld-path.h | |
parent | Chanhe the base temp file name to 'rld--'. (diff) | |
download | rtems-tools-32cd4fcc17bbd969410f5f8d165cb7793cce972c.tar.bz2 |
rtems-tld: Add --wrapper option to aid testing.
The --wrapper option lets a user control the wrapper file name and
location to aid testing.
Add keep support to tempfiles so specific tempfile can be set
to be kept.
Add unlink to the rld::path namespace.
Diffstat (limited to 'linkers/rld-path.h')
-rw-r--r-- | linkers/rld-path.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linkers/rld-path.h b/linkers/rld-path.h index f501fb4..0e1329a 100644 --- a/linkers/rld-path.h +++ b/linkers/rld-path.h @@ -128,6 +128,13 @@ namespace rld const std::string& name, paths& search_paths); + /** + * Unlink the file. + * + * @param path The path of the file to unlink. + */ + void unlink (const std::string& path, bool not_present_error = false); + } } |