mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -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
1 changed files with 2 additions and 1 deletions
|
|
@ -180,7 +180,8 @@ int main(int argc, char **argv)
|
|||
}
|
||||
fwrite(sig_modname, 1, strlen(sig_modname) + 1, 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(&t, 1, l, fp);
|
||||
fclose(fp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue