From: Martin Mares Date: Sat, 6 Jul 2002 03:29:41 +0000 (+0000) Subject: Increase line buffer sizes to 4096 bytes. Current gatherd really can X-Git-Tag: holmes-import~1387 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4283e6d98564c1a273ff7a48d8f55ef54353fe9a;p=libucw.git Increase line buffer sizes to 4096 bytes. Current gatherd really can produce such long lines under several circumstances, need to examine how is that possible. --- diff --git a/lib/object.c b/lib/object.c index 1c9cb23f..d5e68e74 100644 --- a/lib/object.c +++ b/lib/object.c @@ -60,7 +60,7 @@ obj_free(struct odes *o) int obj_read(struct fastbuf *f, struct odes *o) { - byte buf[1024]; + byte buf[4096]; struct oattr **last = &o->attrs; struct oattr *a, *la;