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:
parent
b183a2d2f8
commit
9b949d1dff
1 changed files with 0 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue