[PATCH setup 0/3] Drop Windows 9x-related code

2016-01-08 Thread Yaakov Selkowitz
Yaakov Selkowitz (3): propsheet: drop support for Common Controls v4 nio-ie5: drop unnecessary LoadLibrary call Use Winsock 2 throughout Makefile.am | 2 +- nio-ftp.cc | 2 +- nio-http.cc | 2 +- nio-ie5.cc | 7 --- propsheet.cc | 45 +--

[PATCH setup 3/3] Use Winsock 2 throughout

2016-01-08 Thread Yaakov Selkowitz
Winsock 2 was shipped with Windows 98. * Makefile.am (@SETUP@_LDADD): Link with ws2_32 instead of wsock32. * nio-ftp.cc: Include winsock2.h instead of winsock.h. * nio-http.cc: Ditto. * simpsock.cc: Ditto. Signed-off-by: Yaakov Selkowitz --- Makefile.am | 2 +- n

[PATCH setup 1/3] propsheet: drop support for Common Controls v4

2016-01-08 Thread Yaakov Selkowitz
This test was only needed for Windows 9x, as Windows 2000 shipped with Internet Explorer 5.01 and Windows ME shipped with 5.5: https://msdn.microsoft.com/en-us/library/windows/desktop/hh298349.aspx * propsheet.cc (GetPROPSHEETHEADERSize): Remove. (PropSheet::Create): Use sizeof (P

[PATCH setup 2/3] nio-ie5: drop unnecessary LoadLibrary call

2016-01-08 Thread Yaakov Selkowitz
wininet.dll is already load-time dynamically linked. * nio-ie5 (NetIO): Drop unnecessary LoadLibrary call. Signed-off-by: Yaakov Selkowitz --- nio-ie5.cc | 7 --- 1 file changed, 7 deletions(-) diff --git a/nio-ie5.cc b/nio-ie5.cc index db4666c..c66cf52 100644 --- a/nio-ie5.cc +++

Re: [cygport] Bugfixes

2016-01-08 Thread Achim Gratz
Yaakov Selkowitz writes: >> http://repo.or.cz/cygport/rpm-style.git/commitdiff/c57857ab52ba0c1c7edf37ae4fb9384690dd1df1 > > Do we really need to sort twice? Not necessarily, but I didn't want to run sed on the whole lot. I've not tested which way is consuming more resources, though. The final so