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

Commit 54a2a6df authored by Raphaël Moll's avatar Raphaël Moll Committed by android code review
Browse files

Merge "Merge "Fix length of pattern." DO NOT MERGE."

parents 84bda3e3 98a0607a
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;
            }