Asdcarl.108
net.news
utzoo!decvax!ucbvax!ucsfcgl!sdcarl!rusty
Thu Dec  3 02:01:16 1981
BUFLEN
This is an idea that has been bugging me for a while and is
universally applicable to a lot of programs besides netnews.

Why not instead of having statically allocated buffers (e.g.
"BUFLEN" in netnews), dynamically allocate them? Initially
malloc a BUFLEN's worth and when that runs out then use realloc
to get some more.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.