Commit the rewrite of tail by Allen Soard
<esp-software@mail.hypermart.net>. Thanks Allen for you work at getting this into shape, -Erik
This commit is contained in:
parent
43c17b3d96
commit
98bbd688a8
@ -6,6 +6,9 @@
|
|||||||
'make install-hardlinks' target to (tada) install hardlinks.
|
'make install-hardlinks' target to (tada) install hardlinks.
|
||||||
* syslogd can now log messages to a remote host -- patch thanks
|
* syslogd can now log messages to a remote host -- patch thanks
|
||||||
to Gyepi Sam <gyepi@praxis-sw.com>
|
to Gyepi Sam <gyepi@praxis-sw.com>
|
||||||
|
* Rewrite of 'tail' to make it simpler, smaller, and more robust.
|
||||||
|
It now weighs only 2.25k (3k when full featured). The code it
|
||||||
|
much cleaner, thanks to "Allen Soard" <esp-software@mail.hypermart.net>
|
||||||
|
|
||||||
|
|
||||||
-Erik Andersen
|
-Erik Andersen
|
||||||
|
@ -190,8 +190,8 @@
|
|||||||
// enable syslogd -R remotehost
|
// enable syslogd -R remotehost
|
||||||
#define BB_FEATURE_REMOTE_LOG
|
#define BB_FEATURE_REMOTE_LOG
|
||||||
//
|
//
|
||||||
//Simple tail implementation (2k vs 6k for the full one). Still
|
//Simple tail implementation (2.25k vs 3k for the full one).
|
||||||
//provides 'tail -f' support -- but for only one file at a time.
|
//Both provide 'tail -f' support (only one file at a time.)
|
||||||
#define BB_FEATURE_SIMPLE_TAIL
|
#define BB_FEATURE_SIMPLE_TAIL
|
||||||
//
|
//
|
||||||
// Enable support for loop devices in mount
|
// Enable support for loop devices in mount
|
||||||
|
1360
coreutils/tail.c
1360
coreutils/tail.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user