OSDN Git Service

Actually set time with touch -d and -t when you don't specify nanonseconds.
authorRob Landley <rob@landley.net>
Sat, 4 Jul 2015 08:49:53 +0000 (03:49 -0500)
committerRob Landley <rob@landley.net>
Sat, 4 Jul 2015 08:49:53 +0000 (03:49 -0500)
commit671146c3b41460ec3ad25f64f1269be0f3924b27
tree4715c6a272a9441d809a17b09243ac14e8c87cb8
parent0ace882af7b6b26dc1932a6aaa19c245a83765bc
Actually set time with touch -d and -t when you don't specify nanonseconds.

There's a nanoseconds field value that says use current time, which I set
but forgot to clear in the right places. (Oops.)
tests/touch.test
toys/posix/touch.c