- doubled buffer sizes in updaterevision to prevent GIT_HASH from being truncated

Tue, 08 Apr 2014 11:11:32 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 08 Apr 2014 11:11:32 +0300
changeset 659
06c4477675e4
parent 658
2ca8316e0109
child 660
bc589e352f5b
child 712
614b53aef8a9

- doubled buffer sizes in updaterevision to prevent GIT_HASH from being truncated

updaterevision/updaterevision.c file | annotate | diff | comparison | revisions
--- a/updaterevision/updaterevision.c	Tue Apr 08 11:07:25 2014 +0300
+++ b/updaterevision/updaterevision.c	Tue Apr 08 11:11:32 2014 +0300
@@ -34,7 +34,7 @@
 
 int main(int argc, char **argv)
 {
-	char vertag[64], lastlog[64], lasthash[64], *hash = NULL;
+	char vertag[128], lastlog[128], lasthash[128], *hash = NULL;
 	FILE *stream = NULL;
 	int gotrev = 0, needupdate = 1;
 

mercurial