Up to [local] / src / usr.bin / make
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_2_6
Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 5 21:59:00 1999 UTC (24 years, 8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.6: +17 -176 lines
Diff to previous 1.6 (colored)
Kill unused functions Buf_UngetByte, Buf_UngetBytes, Buf_GetByte, Buf_GetBytes. Replace the buffer reallocation mechanism with something much more efficient. Originally from NetBSD. Tweaks to the allocator to first loop finding the correct size, then reallocate; change the heuristic to double the size until we're over what's needed by some fixed amount.