Fossil SCM
Put two blank pages at the end of a generated TAR file. Ticket [b767f47cdefef12].
Commit
a5ebf2f5df2775535b1fb922edc245043fbf9282
Parent
cdc4249268b7114…
1 file changed
+2
+2
| --- src/tar.c | ||
| +++ src/tar.c | ||
| @@ -137,10 +137,12 @@ | ||
| 137 | 137 | ** Finish constructing the tarball. Put the content of the tarball |
| 138 | 138 | ** in Blob pOut. |
| 139 | 139 | */ |
| 140 | 140 | static void tar_finish(Blob *pOut){ |
| 141 | 141 | db_multi_exec("DROP TABLE dir"); |
| 142 | + gzip_step(tball.zSpaces, 512); | |
| 143 | + gzip_step(tball.zSpaces, 512); | |
| 142 | 144 | gzip_finish(pOut); |
| 143 | 145 | fossil_free(tball.aHdr); |
| 144 | 146 | tball.aHdr = 0; |
| 145 | 147 | } |
| 146 | 148 | |
| 147 | 149 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -137,10 +137,12 @@ | |
| 137 | ** Finish constructing the tarball. Put the content of the tarball |
| 138 | ** in Blob pOut. |
| 139 | */ |
| 140 | static void tar_finish(Blob *pOut){ |
| 141 | db_multi_exec("DROP TABLE dir"); |
| 142 | gzip_finish(pOut); |
| 143 | fossil_free(tball.aHdr); |
| 144 | tball.aHdr = 0; |
| 145 | } |
| 146 | |
| 147 |
| --- src/tar.c | |
| +++ src/tar.c | |
| @@ -137,10 +137,12 @@ | |
| 137 | ** Finish constructing the tarball. Put the content of the tarball |
| 138 | ** in Blob pOut. |
| 139 | */ |
| 140 | static void tar_finish(Blob *pOut){ |
| 141 | db_multi_exec("DROP TABLE dir"); |
| 142 | gzip_step(tball.zSpaces, 512); |
| 143 | gzip_step(tball.zSpaces, 512); |
| 144 | gzip_finish(pOut); |
| 145 | fossil_free(tball.aHdr); |
| 146 | tball.aHdr = 0; |
| 147 | } |
| 148 | |
| 149 |