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:
Eric Andersen 2000-07-31 17:05:58 +00:00
parent 43c17b3d96
commit 98bbd688a8
4 changed files with 491 additions and 2236 deletions

View File

@ -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

View File

@ -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

File diff suppressed because it is too large Load Diff

1360
tail.c

File diff suppressed because it is too large Load Diff