summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormapreri <mattia@mapreri.org>2016-11-07 23:14:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-11-07 23:14:01 +0000
commit39e0e4ccb8d6d476499e5c9e4daec0279298c943 (patch)
tree3ba458ec0ff0f2bd94a767ac942e3af9d6c2c2ac /src
parentannotate custom builds, and add correct revno into make dist tarballs (diff)
parentRemove embedded build date, to allow reproducible building. (diff)
downloadinkscape-39e0e4ccb8d6d476499e5c9e4daec0279298c943.tar.gz
inkscape-39e0e4ccb8d6d476499e5c9e4daec0279298c943.zip
reproducible builds
(bzr r15224)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-print.cpp2
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index d4c5d95a3..7f62fd1d7 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -205,7 +205,7 @@ unsigned int PrintEmf::begin(Inkscape::Extension::Print *mod, SPDocument *doc)
} else {
p = ansi_uri;
}
- snprintf(buff, sizeof(buff) - 1, "Inkscape %s (%s)\1%s\1", Inkscape::version_string, __DATE__, p);
+ snprintf(buff, sizeof(buff) - 1, "Inkscape %s \1%s\1", Inkscape::version_string, p);
uint16_t *Description = U_Utf8ToUtf16le(buff, 0, NULL);
int cbDesc = 2 + wchar16len(Description); // also count the final terminator
(void) U_Utf16leEdit(Description, '\1', '\0'); // swap the temporary \1 characters for nulls
diff --git a/src/main.cpp b/src/main.cpp
index 95764aea9..fb627a020 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2159,7 +2159,7 @@ sp_process_args(poptContext ctx)
}
#endif // WITH_YAML
case SP_ARG_VERSION: {
- printf("Inkscape %s (%s)\n", Inkscape::version_string, __DATE__);
+ printf("Inkscape %s\n", Inkscape::version_string);
exit(0);
break;
}