From 8a82f67e2cb3366ab6988bcb56eb06c1d56fdc5d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Apr 2018 18:04:08 +0200 Subject: Use rmsymlink() to portably remove symlinks --- build2/filesystem.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/filesystem.hxx') diff --git a/build2/filesystem.hxx b/build2/filesystem.hxx index 4c118a1..bbdc560 100644 --- a/build2/filesystem.hxx +++ b/build2/filesystem.hxx @@ -76,6 +76,9 @@ namespace build2 return rmfile (f, f, verbosity); } + fs_status + rmsymlink (const path&, bool dir, uint16_t verbosity); + // Similar to rmfile() but for directories (note: not -r). // using rmdir_status = butl::rmdir_status; -- cgit v1.1