Fossil SCM

Put two blank pages at the end of a generated TAR file. Ticket [b767f47cdefef12].

drh 2011-03-14 12:16 trunk
Commit a5ebf2f5df2775535b1fb922edc245043fbf9282
1 file changed +2
+2
--- src/tar.c
+++ src/tar.c
@@ -137,10 +137,12 @@
137137
** Finish constructing the tarball. Put the content of the tarball
138138
** in Blob pOut.
139139
*/
140140
static void tar_finish(Blob *pOut){
141141
db_multi_exec("DROP TABLE dir");
142
+ gzip_step(tball.zSpaces, 512);
143
+ gzip_step(tball.zSpaces, 512);
142144
gzip_finish(pOut);
143145
fossil_free(tball.aHdr);
144146
tball.aHdr = 0;
145147
}
146148
147149
--- 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

Keyboard Shortcuts

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