Fossil SCM

Allow more than ~128 MiB in a blob ;)

danield 2023-06-22 11:01 trunk
Commit 1c2c0a1f953dda498fc27d423ead4620defbf51fce79cbd597c9aa42ff4b3959
1 file changed +1 -1
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -181,11 +181,11 @@
181181
/*
182182
** Maximum size of a Blob's managed memory. This is ~2GB, largely for
183183
** historical reasons.
184184
**
185185
*/
186
-#define MAX_BLOB_SIZE 0x7fff000
186
+#define MAX_BLOB_SIZE 0x7fff0000
187187
188188
/*
189189
** If n >= MAX_BLOB_SIZE, calls blob_panic(),
190190
** else this is a no-op.
191191
*/
192192
--- src/blob.c
+++ src/blob.c
@@ -181,11 +181,11 @@
181 /*
182 ** Maximum size of a Blob's managed memory. This is ~2GB, largely for
183 ** historical reasons.
184 **
185 */
186 #define MAX_BLOB_SIZE 0x7fff000
187
188 /*
189 ** If n >= MAX_BLOB_SIZE, calls blob_panic(),
190 ** else this is a no-op.
191 */
192
--- src/blob.c
+++ src/blob.c
@@ -181,11 +181,11 @@
181 /*
182 ** Maximum size of a Blob's managed memory. This is ~2GB, largely for
183 ** historical reasons.
184 **
185 */
186 #define MAX_BLOB_SIZE 0x7fff0000
187
188 /*
189 ** If n >= MAX_BLOB_SIZE, calls blob_panic(),
190 ** else this is a no-op.
191 */
192

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button