Replace growing buffer implementation used in cache.c with more robust one
commitab0bca9f66aaa21d48f4e524256c16e998dcafa8
authorTimo Hirvonen <tihirvon@gmail.com>
Mon, 3 Mar 2008 16:34:42 +0000 (3 18:34 +0200)
committerTimo Hirvonen <tihirvon@gmail.com>
Mon, 3 Mar 2008 16:34:42 +0000 (3 18:34 +0200)
treeeb15dddc3be5125e182f6ace766b203e852febb4
parent748efc17c323260500f2448e20fc4feeeecce78b
Replace growing buffer implementation used in cache.c with more robust one

struct gbuf is always zero terminated so it is safer and works better
with strings.
Makefile
cache.c
gbuf.c [new file with mode: 0644]
gbuf.h [new file with mode: 0644]