mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
rdflib: actually get the time
sizeof(t = time(NULL)) doesn't ever actually call time(). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
99276cc7d9
commit
2bc798a968
@ -180,7 +180,8 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
fwrite(sig_modname, 1, strlen(sig_modname) + 1, fp);
|
fwrite(sig_modname, 1, strlen(sig_modname) + 1, fp);
|
||||||
fwrite(rdl_signature, 1, strlen(rdl_signature), fp);
|
fwrite(rdl_signature, 1, strlen(rdl_signature), fp);
|
||||||
l = sizeof(t = time(NULL));
|
t = time(NULL);
|
||||||
|
l = sizeof(t);
|
||||||
fwrite(&l, sizeof(l), 1, fp);
|
fwrite(&l, sizeof(l), 1, fp);
|
||||||
fwrite(&t, 1, l, fp);
|
fwrite(&t, 1, l, fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user