Patch line limit removal

Matthew Dillon dillon at apollo.backplane.com
Fri Jul 14 10:34:10 PDT 2006


:
:Hi all,
:http://leaf.dragonflybsd.org/~joerg/patch.diff
:contains the last missing piece to remove unnecessary line limits in
:patch(1). Please test or review, I'd like to have this in the tree soon
::-)
:
:Joerg

    Also, full_fgets() can be cleaned up a bit.  Just add a local
    resize_len variable instead of copying 'buf_len * 2' all over
    the place, and also clean up the last bit to read something like
    this:

    ret = fgets(resize_buf + buf_len, resize_len - buf_len, fp);
    buf = resize_buf;
    buf_len = resize_len;

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Submit mailing list