Browse Source

Fixed bug in File::deleteFile() where it would fail to delete a symlink if it was pointing to a nonexistent file.

tags/2021-05-28
Timur Doumler 9 years ago
parent
commit
28730a28c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/native/juce_posix_SharedCode.h

+ 1
- 1
modules/juce_core/native/juce_posix_SharedCode.h View File

@@ -404,7 +404,7 @@ bool File::setFileTimesInternal (int64 modificationTime, int64 accessTime, int64
bool File::deleteFile() const
{
if (! exists())
if (! exists() && ! isSymbolicLink())
return true;
if (isDirectory())


Loading…
Cancel
Save