]> mj.ucw.cz Git - libucw.git/blobdiff - lib/object.h
Put back the work-around for objects generated by an old version of the
[libucw.git] / lib / object.h
index d7d7efaaa03ce5a9ea5e91d0739bcfec6ce27053..c1a91798291492b6a8d38a64071f3bb92f9f2a16 100644 (file)
@@ -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;