No description
Find a file
Simon Tatham 0bc12e1c67 Fix WORD16 and WORD32 macros.
I made the mistake of using the same variable name _offset for the
temporary variable in WORD16 and WORD32, and for the one in BYTE which
the other two use as a subroutine - meaning that the declaration on
the first line of BYTE read 'size_t _offset = _offset+3' or similar,
in which the RHS _offset referred to the newly declared LHS one rather
than to the one in the outer scope.

WORD32 had the additional goof that I had declared its return-value
accumulator variable as a 16- rather than 32-bit integer due to
copy-and-paste error.

Between those two mistakes - surely introduced at the last minute when
I was doing code cleanup on this source base, because I know this
function was working OK before then - I had completely broken the
extraction of version strings from PE executables.
2017-05-28 10:00:03 +01:00
.gitignore Add a command-line test program. 2017-05-28 09:54:05 +01:00
api.h Add a command-line test program. 2017-05-28 09:54:05 +01:00
autogen.sh Set up an autotools system. 2017-05-17 19:31:26 +01:00
configure.ac Move the char16 functions into their own file. 2017-05-18 07:16:21 +01:00
dupstr.c Move dupcat out into its own file, and add dupstr. 2017-05-18 07:10:17 +01:00
dupstr.h Move system_argv_* into their own file. 2017-05-18 07:10:17 +01:00
makecab.c Fix a memory-management goof. 2017-05-18 18:48:39 +01:00
makecab.py Fix checksum calculation in CAB data records. 2017-05-16 20:11:53 +01:00
Makefile.am Add a command-line test program. 2017-05-28 09:54:05 +01:00
makemsi.c Rename fake-msi.c to makemsi.c. 2017-05-18 08:27:29 +01:00
md5.c General MD5 cleanups. 2017-05-18 18:49:35 +01:00
memory.c Move snew/sfree out into their own header+src. 2017-05-18 06:46:55 +01:00
memory.h Move snew/sfree out into their own header+src. 2017-05-18 06:46:55 +01:00
misc.h Add a command-line test program. 2017-05-28 09:54:05 +01:00
preload.c Use an LD_PRELOAD library in place of symlink to /home. 2017-05-16 07:03:19 +01:00
readcab.c Move CAB-reading into its own file. 2017-05-18 19:00:07 +01:00
subproc.c Move system_argv_* into their own file. 2017-05-18 07:10:17 +01:00
subproc.h Move system_argv_* into their own file. 2017-05-18 07:10:17 +01:00
test.c Add a command-line test program. 2017-05-28 09:54:05 +01:00
uchars.c Add a command-line test program. 2017-05-28 09:54:05 +01:00
uchars.h Add a command-line test program. 2017-05-28 09:54:05 +01:00
version.c Fix WORD16 and WORD32 macros. 2017-05-28 10:00:03 +01:00
winterop-stubs.c Rename the last 'fake' file. 2017-05-18 19:01:01 +01:00
wrapper.py Top-level wrapper script to do the environment setup. 2017-05-17 19:29:08 +01:00