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

Commit 9d8c7089 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Always use a positive value for timestamp" am: bfe66d98 am: e7fad0b0 am: 813760c9

Change-Id: Ie39f191b994ebdf9ed19a919e54cf3e42e1d7774
parents 6c9b1f8f 813760c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -666,7 +666,7 @@ int64_t WorkDirectory::make_timestamp_ns_locked() {
        clock_gettime(CLOCK_REALTIME, &spec);
        clock_gettime(CLOCK_REALTIME, &spec);
        timestampNs = int64_t(spec.tv_sec) * 1000 + spec.tv_nsec;
        timestampNs = int64_t(spec.tv_sec) * 1000 + spec.tv_nsec;
    } while (file_exists_locked(timestampNs));
    } while (file_exists_locked(timestampNs));
    return timestampNs;
    return (timestampNs >= 0)? timestampNs : -timestampNs;
}
}


/**
/**