Index: src/lib/bwgCreate.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/bwgCreate.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -b -B -U 4 -r1.22 -r1.23
--- src/lib/bwgCreate.c	25 Nov 2009 07:17:25 -0000	1.22
+++ src/lib/bwgCreate.c	6 Apr 2010 23:42:10 -0000	1.23
@@ -1047,8 +1047,12 @@
     writeOne(f, reductionDataOffsets[i]);
     writeOne(f, reductionIndexOffsets[i]);
     }
 
+/* Write end signature. */
+fseek(f, 0L, SEEK_END);
+writeOne(f, sig);
+
 /* Clean up */
 freez(&chromInfoArray);
 carefulClose(&f);
 }

