Fossil SCM
Allow more than ~128 MiB in a blob ;)
Commit
1c2c0a1f953dda498fc27d423ead4620defbf51fce79cbd597c9aa42ff4b3959
Parent
6efd41941ced78c…
1 file changed
+1
-1
+1
-1
| --- src/blob.c | ||
| +++ src/blob.c | ||
| @@ -181,11 +181,11 @@ | ||
| 181 | 181 | /* |
| 182 | 182 | ** Maximum size of a Blob's managed memory. This is ~2GB, largely for |
| 183 | 183 | ** historical reasons. |
| 184 | 184 | ** |
| 185 | 185 | */ |
| 186 | -#define MAX_BLOB_SIZE 0x7fff000 | |
| 186 | +#define MAX_BLOB_SIZE 0x7fff0000 | |
| 187 | 187 | |
| 188 | 188 | /* |
| 189 | 189 | ** If n >= MAX_BLOB_SIZE, calls blob_panic(), |
| 190 | 190 | ** else this is a no-op. |
| 191 | 191 | */ |
| 192 | 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 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 |