aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-07-27 13:09:09 +0100
committerRon Yorston <rmy@pobox.com>2021-07-28 12:28:12 +0100
commit5776a5f8d5bfe83b72dc3d9788e92a2a11b22cd2 (patch)
treeec5205ca568ba92f6857544a1cc73ec9ebdd74aa /shell
parent5c2241c4b32607f138824c3454b7b32b2916fd02 (diff)
downloadbusybox-w32-5776a5f8d5bfe83b72dc3d9788e92a2a11b22cd2.tar.gz
busybox-w32-5776a5f8d5bfe83b72dc3d9788e92a2a11b22cd2.tar.bz2
busybox-w32-5776a5f8d5bfe83b72dc3d9788e92a2a11b22cd2.zip
win32: code shrink has_exec_format()
In the code to detect binaries: - use '|' rather than '+' to combine bytes; - fix the test that the PE header is within the buffer; - once we have the offset to the PE header make a pointer to it; - cosmetic changes. Saves 96 bytes.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions