summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsezero <sezero@users.sourceforge.net>2019-10-04 23:37:10 +0300
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-06 13:17:42 -0700
commit741967033eb8022b9b9b82f6b2ee3c90d670627e (patch)
tree187c0ca1f73c03656d189f4decc696e448a38777
parent1969dab9c6d4b3d1e44850c013069ce2f088c23a (diff)
downloadnasm-741967033eb8022b9b9b82f6b2ee3c90d670627e.tar.gz
rdflib.c: add back timestamp size to header in library creation.
Commit 8dc965347 removed writing of the timestamp size to library header. (Accidentally, I guess??) The attached patch adds it back. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--rdoff/rdflib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rdoff/rdflib.c b/rdoff/rdflib.c
index d363b3e5..ab03e0b8 100644
--- a/rdoff/rdflib.c
+++ b/rdoff/rdflib.c
@@ -181,6 +181,8 @@ int main(int argc, char **argv)
nasm_write(sig_modname, strlen(sig_modname) + 1, fp);
nasm_write(rdl_signature, strlen(rdl_signature), fp);
t = time(NULL);
+ l = sizeof(t);
+ fwriteint32_t(l, fp);
fwriteint32_t(t, fp);
fclose(fp);
break;