From cedf35c1d6510fe8511bf4d352c842c87de63b88 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 28 Feb 2003 16:51:14 +0000 Subject: [PATCH] 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. --- lib/object.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5