1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

Fixed issue #6: file-contains-current-date

Remove the line with the build date of the library from the
raw serialized file format. It doesn't help anything and it
bothers the openSUSE packaging guys. Having the current
date into a binary triggers a warning:

"Current date containing causes unnecessary package
republishing."

Confirmed that "strings libcpuid.a | grep 2014" no longer
contains the current date.
This commit is contained in:
Veselin Georgiev 2014-08-04 14:02:35 +03:00
parent b183a2d2f8
commit 9b949d1dff

View file

@ -355,7 +355,6 @@ int cpuid_serialize_raw_data(struct cpu_raw_data_t* data, const char* filename)
if (!f) return set_error(ERR_OPEN);
fprintf(f, "version=%s\n", VERSION);
fprintf(f, "build_date=%s\n", __DATE__);
for (i = 0; i < MAX_CPUID_LEVEL; i++)
fprintf(f, "basic_cpuid[%d]=%08x %08x %08x %08x\n", i,
data->basic_cpuid[i][0], data->basic_cpuid[i][1],