summaryrefslogtreecommitdiff
path: root/svtools/workben
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2016-12-24 02:08:28 +0000
committerPedro Giffuni <pfg@apache.org>2016-12-24 02:08:28 +0000
commit9feaf73b22cb8ee5ba90440c50d06179f4bce8ba (patch)
tree791df7e2380e54ec55db25d9f509add60eb514cd /svtools/workben
parenta264476563664ef1f594ab2f3e26ca30758e0d38 (diff)
Avoid including some dates in executable files.
Embedding build dates and other environment specific information may casue gratuitous difference in the resulting binaries, which makes more difficult security verifications and binary updates. We currently make no claims but this is the first step to generate reproducible builds. For more information check: https://reproducible-builds.org/ While here, since we have been so lazy about updating it, also add the svn Revision keyword to configure.ac.
Notes
Notes: prefer: 3d6d07a7e34e0e767c653008c0eb16ce7ffe5f19
Diffstat (limited to 'svtools/workben')
-rw-r--r--svtools/workben/cui/loadlib.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/svtools/workben/cui/loadlib.cxx b/svtools/workben/cui/loadlib.cxx
index 190fac997a62..fd34fc2d60ba 100644
--- a/svtools/workben/cui/loadlib.cxx
+++ b/svtools/workben/cui/loadlib.cxx
@@ -37,12 +37,9 @@ using namespace rtl;
extern "C" {
struct VersionInfo
{
- const char* pTime;
- const char* pDate;
const char* pUpd;
const char* pMinor;
const char* pBuild;
- const char* pInpath;
};
typedef VersionInfo*(__LOADONCALLAPI *GetVersionInfo)(void);
@@ -67,12 +64,9 @@ int __LOADONCALLAPI main( int argc, char **argv )
}
if ( pInfo )
{
- fprintf( stdout, "Date : %s\n", pInfo->pDate );
- fprintf( stdout, "Time : %s\n", pInfo->pTime );
fprintf( stdout, "UPD : %s\n", pInfo->pUpd );
fprintf( stdout, "Minor : %s\n", pInfo->pMinor );
fprintf( stdout, "Build : %s\n", pInfo->pBuild );
- fprintf( stdout, "Inpath : %s\n", pInfo->pInpath );
}
else
fprintf( stderr, "VersionInfo not Found !\n" );