stat: fix mtime/ctime/atime
authorEric Lammerts <busybox@lists.lammerts.org>
Sat, 30 Oct 2010 00:48:20 +0000 (02:48 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 30 Oct 2010 00:48:20 +0000 (02:48 +0200)
commit66be9197a5111d0293732f4823d1711ccab51675
tree42a32bde5fad1f26e5aea65064931f9633383a97
parentd7559c274139c91af5ce77bd4b9f863f78a69f69
stat: fix mtime/ctime/atime

If you set CONFIG_FEATURE_STAT_FORMAT=n, two of the three printed
times are wrong, because a global buffer is reused. Fix below.

Signed-off-by: Eric Lammerts <busybox@lists.lammerts.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/stat.c