mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user