From e297565ae34d6cc62f41810a261adbeef576af7b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 16 Feb 2016 15:42:49 +0000 Subject: [PATCH] Changed the way the information on the version is inserted into the code --- src/snapshot.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/snapshot.c b/src/snapshot.c index 3b62b49..50dc139 100644 --- a/src/snapshot.c +++ b/src/snapshot.c @@ -49,7 +49,8 @@ char *c_time_string; current_time = time(NULL); c_time_string = ctime(¤t_time); - fprintf(fh, "<trisurfversion>%s</trisurfversion>\n",TS_VERSION); + + fprintf(fh, "<trisurfversion>Trisurf (commit %s), compiled on %s %s</trisurfversion>\n",TS_VERSION, __DATE__, __TIME__); fprintf(fh, "<dumpdate>%s</dumpdate>\n", c_time_string); //free (c_time_string); -- Gitblit v1.9.3