diff options
author | Ian Dowse <iedowse@FreeBSD.org> | 2004-02-05 21:07:50 +0000 |
---|---|---|
committer | Ian Dowse <iedowse@FreeBSD.org> | 2004-02-05 21:07:50 +0000 |
commit | 59f256ec35d3b2d6016de0e62b95a8fd67bb2a99 (patch) | |
tree | 5ad08047a115b18f1e45f6fd1851a664af4f6082 /sbin/adjkerntz/adjkerntz.c | |
parent | 4c3558aa829d42ebaf83ae4ef1b226ac87e8eade (diff) | |
download | src-59f256ec35d3b2d6016de0e62b95a8fd67bb2a99.tar.gz src-59f256ec35d3b2d6016de0e62b95a8fd67bb2a99.zip |
Don't print the oldest line in the message buffer if the buffer is
full, since that line is almost always incomplete. Make the parsing
of <%d> lines more strict.
Also simplify the logic a little:
- Start off by making the buffer linear so that we don't have to
deal with it wrapping around (suggested by bde).
- Process line by line rather than byte at a time.
Notes
Notes:
svn path=/head/; revision=125497
Diffstat (limited to 'sbin/adjkerntz/adjkerntz.c')
0 files changed, 0 insertions, 0 deletions