[1246] in Athena Bugs

home help back first fref pref prev next nref lref last post

updating mod time of files

daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Wed Oct 26 08:59:46 1988

From: <geer@ATHENA.MIT.EDU>
Date: Wed, 26 Oct 88 08:59:33 EDT
To: bugs@ATHENA.MIT.EDU
i would argue that an append operation 
performed on an existing file should 
update the touch date of that file
regardless of whether the append operation
was vacuous.

example:

% ls -l /tmp/foo
-rw-------  1 geer         9265 Oct 26 08:51 /tmp/foo
% cat >> /tmp/foo
^D
% ls -l /tmp/foo
-rw-------  1 geer         9265 Oct 26 08:51 /tmp/foo


in other words, i would think that the
vacuous append operation should have
been equivalent to a touch operation.

am i missing something?

--dan

home help back first fref pref prev next nref lref last post