1
0
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:
tim.newsham 2008-05-10 18:33:06 +00:00
parent 4d820ab2f3
commit df671333ca

View File

@ -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))