hush/coreutils
Eric Lammerts 66be9197a5 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>
2010-10-30 02:48:20 +02:00
..
libcoreutils *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
basename.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
cal.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
cat.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
catv.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
chgrp.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
chmod.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
chown.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
chroot.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
cksum.c libbb: introduce and use common crc32 routine 2010-10-27 15:26:45 +02:00
comm.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
Config.src stty: sort out preprocessor conditionals 2010-08-01 03:31:35 +02:00
cp.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
cut.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
date.c whitespace cleanup 2010-10-29 11:46:52 +02:00
dd.c whitespace cleanup 2010-10-29 11:46:52 +02:00
df.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dirname.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
dos2unix.c *: introduce and use xmkstemp. -65 bytes. 2010-10-22 13:27:16 +02:00
du.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
echo.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
env.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
expand.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
expr.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
false.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
fold.c Marked some more applets NOEXEC/NOFORK 2010-10-01 23:35:09 +02:00
fsync.c *: s/open3_or_warn/open_or_warn/ where makes sense 2010-10-20 13:21:22 +02:00
head.c Marked some more applets NOEXEC/NOFORK 2010-10-01 23:35:09 +02:00
hostid.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c Marked some more applets NOEXEC/NOFORK 2010-10-01 23:35:09 +02:00
install.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
Kbuild.src *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
length.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
ln.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
logname.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
ls.c Avoid side effects in putc(), which may be implemented as a macro 2010-09-09 11:48:02 +02:00
md5_sha1_sum.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
mkdir.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
mkfifo.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
mknod.c Marked some more applets NOEXEC/NOFORK 2010-10-01 23:35:09 +02:00
mv.c whitespace cleanup 2010-10-29 11:46:52 +02:00
nice.c whitespace cleanup 2010-10-29 11:46:52 +02:00
nohup.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
od_bloaty.c *: better string sharing 2010-06-02 12:57:26 +02:00
od.c whitespace cleanup 2010-10-29 11:46:52 +02:00
printenv.c Marked some more applets NOEXEC/NOFORK 2010-10-01 23:35:09 +02:00
printf.c libbb: introduce and use strcpy_and_process_escape_sequences 2010-10-23 21:06:06 +02:00
pwd.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
readlink.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
realpath.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
rm.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
rmdir.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
seq.c seq: exit on write errors 2010-10-17 12:44:39 +02:00
sleep.c style fix. no code chages 2010-09-25 17:19:04 +02:00
sort.c whitespace cleanup 2010-10-29 11:46:52 +02:00
split.c split: use xopen_stdin() 2010-08-23 03:06:46 +02:00
stat.c stat: fix mtime/ctime/atime 2010-10-30 02:48:20 +02:00
stty.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
sum.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
sync.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tac.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tail.c tail: free tailbuf upon cleaning up 2010-10-21 00:25:45 +02:00
tee.c typo fix 2010-10-17 12:45:24 +02:00
test_ptr_hack.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test.c whitespace cleanup 2010-10-29 11:46:52 +02:00
touch.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
tr.c whitespace cleanup 2010-10-29 11:46:52 +02:00
true.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tty.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
uname.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
uniq.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
usleep.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
uudecode.c libbb: merge mail and uudecode's base64 decoders 2010-09-16 17:51:13 +02:00
uuencode.c base64: new applet 2010-08-31 14:09:22 +02:00
wc.c whitespace cleanup 2010-10-29 11:46:52 +02:00
who.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
whoami.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
yes.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00