mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-02-13 19:44:53 +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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user