Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv6216
Modified Files:
make-pe-exe.py
Log Message:
fixed the MZ signature
Index: make-pe-exe.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/make-pe-exe.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- make-pe-exe.py 13 May 2003 21:40:29 -0000 1.52
+++ make-pe-exe.py 13 May 2003 21:46:49 -0000 1.53
@@ -23,7 +23,7 @@
if message.find('\r') == -1: # if no CRs, insert them
message = '\r\n'.join(message.split('\n'))
b = Linkie('<')
- b[::2] = 0x4d, 0x5a # 'MZ'
+ b[::1] = 0x4d, 0x5a # 'MZ'
b[::2] = '#mz/bytes-in-last-block', '#mz/blocks-in-file'
b[::2] = 0 # no relocation
b[::2] = 0 # empty MZ header--load it all into memory
|