diff options
author | sezero <sezero@users.sourceforge.net> | 2019-10-04 23:37:10 +0300 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-07-06 13:17:42 -0700 |
commit | 741967033eb8022b9b9b82f6b2ee3c90d670627e (patch) | |
tree | 187c0ca1f73c03656d189f4decc696e448a38777 | |
parent | 1969dab9c6d4b3d1e44850c013069ce2f088c23a (diff) | |
download | nasm-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.c | 2 |
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; |