DragonFly BSD
DragonFly submit List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Patch line limit removal


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 10:32:57 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]