From 24fa14c7dd9f34b342f6ee29d46ae959d1152f59 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Mar 2026 15:36:33 +0000 Subject: [PATCH] fix typos in strip-lib.py Agent-Logs-Url: https://github.com/stackless-dev/stackman/sessions/e29ff9b5-da02-4031-9f32-d483cace59d0 Co-authored-by: kristjanvalur <6009543+kristjanvalur@users.noreply.github.com> --- tools/strip-lib.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/strip-lib.py b/tools/strip-lib.py index f783d81..bc79462 100644 --- a/tools/strip-lib.py +++ b/tools/strip-lib.py @@ -1,10 +1,10 @@ -# nulls the timestamp filed in a windows .lib archive, -# making the lib reproducable. +# nulls the timestamp field in a windows .lib archive, +# making the lib reproducible. # the time is the TimeDateStamp in the COFF file header, four bytes at offset 4 # See https://blog.conan.io/2019/09/02/Deterministic-builds-with-C-C++.html # also: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#archive-library-file-format # -# There are some additional fixes added for reproducability, such as fixing the zero-padding of names in the coff +# There are some additional fixes added for reproducibility, such as fixing the zero-padding of names in the coff # section headers. import struct @@ -82,7 +82,7 @@ def read_lib(fp): print("longnames", result["longnames"]) h = None - # now read the headers, possibly we alread read one above. + # now read the headers, possibly we already read one above. while True: if h is None: h = header_read(fp) @@ -202,13 +202,13 @@ def first_lm_write(fp, lm): def second_lm_read(fp): # number of members - m = struct.unpack("