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

Commit e7b335b4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "logcat: test: tail_# occasional failures"

parents 54182110 d70f246f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -208,9 +208,9 @@ static char* fgetLongTime(char* buffer, size_t buflen, FILE* fp) {
        if ((*ep != '-') && (*ep != '.')) {
            continue;
        }
        // Find PID field
        // Find PID field.  Look for ': ' or ':[0-9][0-9][0-9]'
        while (((ep = strchr(ep, ':'))) && (*++ep != ' ')) {
            ;
            if (isdigit(ep[0]) && isdigit(ep[1]) && isdigit(ep[2])) break;
        }
        if (!ep) {
            continue;