Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac9f5057 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 996b073e: Fix length of pattern.

* commit '996b073e':
  Fix length of pattern.
parents 88ab8c8d 996b073e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ static bool isHidden(const char *root, const char *path)
        if (token[0] == '*') {
            // Match *suffix
            token++;
            n--;
            if (n <= plen) {
                ignore = strncasecmp(token, path + plen - n, n) == 0;
            }