diff options
author | delphij <delphij@FreeBSD.org> | 2005-02-04 14:01:06 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-02-04 14:01:06 +0000 |
commit | aa38886281809aaa5c85623d9e104bbad542786b (patch) | |
tree | 467ce5d5c88f9c537fcfa365350e40049896dcc6 /lib/msun/ia64 | |
parent | ed3d473296113c9c043b1ad439315bba88a79bbb (diff) | |
download | FreeBSD-src-aa38886281809aaa5c85623d9e104bbad542786b.zip FreeBSD-src-aa38886281809aaa5c85623d9e104bbad542786b.tar.gz |
Save last displayed file by having the "last" pointer global and save it
during we show the first file's tail. Instead of:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
==> 2 <==
bar2
foo2
Now with this change, we have:
tarsier% tail -f 1 2
==> 1 <==
foo
bar
==> 2 <==
bar
foo
bar2
foo2
While I'm there, move a comment to where it should belong to. Also,
const'ify the "last" static because we will never need to change the
contents it points to.
MFC After: 1 week
Diffstat (limited to 'lib/msun/ia64')
0 files changed, 0 insertions, 0 deletions