Page MenuHomeFreeBSD

config(8): use sbuf to manage line buffers
ClosedPublic

Authored by jah on Apr 11 2020, 8:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 8:32 PM
Unknown Object (File)
Fri, Mar 22, 8:32 PM
Unknown Object (File)
Fri, Mar 22, 8:31 PM
Unknown Object (File)
Mar 8 2024, 11:51 PM
Unknown Object (File)
Feb 6 2024, 6:30 AM
Unknown Object (File)
Jan 29 2024, 4:12 AM
Unknown Object (File)
Jan 4 2024, 6:13 AM
Unknown Object (File)
Jan 4 2024, 6:12 AM
Subscribers

Details

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jah retitled this revision from config(8): use sbuf to manage line buffers PR: 245476 to config(8): use sbuf to manage line buffersPR: 245476.Apr 11 2020, 8:39 PM
jah added reviewers: kevans, imp.
jah retitled this revision from config(8): use sbuf to manage line buffersPR: 245476 to config(8): use sbuf to manage line buffers.
jah edited the summary of this revision. (Show Details)

This looks fine, but given the age of config. It feels a bit like effort might be better spent on a rewrite

This revision is now accepted and ready to land.Apr 11 2020, 9:10 PM
In D24373#536140, @imp wrote:

This looks fine, but given the age of config. It feels a bit like effort might be better spent on a rewrite

TBH I had the same thought, including "how much of this even still needs to be written in C?". But that would be a big effort, and this was something simple I could do with my quarantine time.

In D24373#536143, @jah wrote:
In D24373#536140, @imp wrote:

This looks fine, but given the age of config. It feels a bit like effort might be better spent on a rewrite

TBH I had the same thought, including "how much of this even still needs to be written in C?". But that would be a big effort, and this was something simple I could do with my quarantine time.

Yea. Minor clean ups are fine. It's more an aside if some has 50 or 100 changes to config rather than one or two.

Much better, thanks! =-)

This revision was automatically updated to reflect the committed changes.