mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #794
- Corrected typo and missing ; for Solaris builds. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
parent
e4c173771f
commit
8fbce0288e
3 changed files with 4 additions and 3 deletions
|
@ -109,7 +109,7 @@ bool Directory::remove_directory (const std::string& dir)
|
|||
struct stat s;
|
||||
stat (de->d_name, &s);
|
||||
if (s.st_mode & S_IFDIR)
|
||||
remove_directory (dir + "/" + de->de_name);
|
||||
remove_directory (dir + "/" + de->d_name);
|
||||
else
|
||||
unlink ((dir + "/" + de->d_name).c_str ());
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue