The function setLastAccessAndModificationTime() uses function futimens() or futimes() by default.
Both functions are not available in z/OS, therefore functionality is implemented using __fchattr() on z/OS.
Details
Diff Detail
Unit Tests
Event Timeline
llvm/lib/Support/Unix/Path.inc | ||
---|---|---|
801 | Minor nit: As a function returning int (with 0 representing success), I would suggest using != 0 to check for the error condition. |
clang-tidy: error: unknown type name 'file_t' [clang-diagnostic-error]
not useful