aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2019-04-26 13:43:54 +1000
committerJonathan Liu <net147@gmail.com>2019-04-29 21:50:01 +0000
commit3284c6c6f38a087540e46766f2f6303f13c36ae9 (patch)
treee8f574df6aa49f133451053681f2f5d54b6664a6 /doc
parente5ecb0220e2f77adfd42a1cd423802a277ef29be (diff)
RemoteLinux: Fix off-by-one error for stat %Y last modified column
The -t parameter on GNU stat uses the format: %n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %W %o The -t parameter on BusyBox stat uses the format: %n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %o BusyBox doesn't support %W so it is not included when using -t. It was incorrectly referring to %Z (time of last status change, seconds since Epoch) because it did not take into account the first column being removed. Subtract 1 from the index so that it takes this into account and correctly refers to %Y (time of last data modification, seconds since Epoch). Task-number: QTCREATORBUG-22041 Change-Id: I272609facbd8148199d2bfcf6f5adbdc273a6b50 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions