From: Martin Mares Date: Fri, 28 Feb 2003 16:51:14 +0000 (+0000) Subject: Put back the work-around for objects generated by an old version of the X-Git-Tag: holmes-import~1273 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=cedf35c1d6510fe8511bf4d352c842c87de63b88;p=libucw.git Put back the work-around for objects generated by an old version of the gatherer, because some of them still haven't expired from the db. At least the work-around is cleaner this time. --- diff --git a/lib/object.h b/lib/object.h index d7d7efaa..c1a91798 100644 --- a/lib/object.h +++ b/lib/object.h @@ -10,7 +10,8 @@ #ifndef _SHERLOCK_OBJECT_H #define _SHERLOCK_OBJECT_H -#define MAX_ATTR_SIZE 1024 /* Maximum length an attribute can ever have (including name and trailing 0) */ +/* FIXME: Buggy objects with long attributes still exist in old databases. Decrease to 1024 one day. */ +#define MAX_ATTR_SIZE 4096 /* Maximum length an attribute can ever have (including name and trailing 0) */ struct fastbuf;