touch: do not ignore argument of -d/-t option
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 21 Mar 2010 08:22:47 +0000 (14:22 +0600)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 21 Mar 2010 12:04:47 +0000 (13:04 +0100)
commit927e4bb644ca6a50fd3e802806bbddce42daa1a6
tree43039ab0588376d66ac3b31aea0eadc00f84798e
parent53f72bb3f0bd81b1d3af8939a16ec730c7e750c3
touch: do not ignore argument of -d/-t option

Previously -d/-t was no-op due to wrong handling of args passed to
utimes(2).

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/touch.c