]> mj.ucw.cz Git - libucw.git/commitdiff
Increase line buffer sizes to 4096 bytes. Current gatherd really can
authorMartin Mares <mj@ucw.cz>
Sat, 6 Jul 2002 03:29:41 +0000 (03:29 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 6 Jul 2002 03:29:41 +0000 (03:29 +0000)
produce such long lines under several circumstances, need to examine
how is that possible.

lib/object.c

index 1c9cb23fc5a629b6f2f054724b2583ca2a352e0c..d5e68e74dc0312a4653219f87ac1a2b818e4c0d6 100644 (file)
@@ -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;