mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-11 23:53:34 +00:00
- oops, wrong text size in fixaout.py. Needs to accomodate the
extra 12 bytes of the a.out header that werent part of the text size before.
This commit is contained in:
parent
4d820ab2f3
commit
df671333ca
@ -27,5 +27,5 @@ def write(fn, d) :
|
||||
|
||||
d1 = words(read('a.out'))
|
||||
hdr = d1[:8]
|
||||
d = [0405, hdr[1], 0, 0, hdr[4], 0] + d1[8:]
|
||||
d = [0405, 12+hdr[1], 0, 0, hdr[4], 0] + d1[8:]
|
||||
write("b.out", unwords(d))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user