[Privoxy-devel] Git merges on master

Lee ler762 at gmail.com
Sun Dec 20 21:08:47 UTC 2020


On 12/20/20, Fabian Keil <fk at fabiankeil.de> wrote:
> Fabian Keil <fk at fabiankeil.de> wrote on 2020-12-14:
>
>> Lee <ler762 at gmail.com> wrote on 2020-12-14:
>
>> > but I've never noticed anything showing up on privoxy.org/gitweb/
>> > before.
>> >
>> > Did I actually change anything & if so, how do I undo it?
>>
>> It looks like you indeed pushed merge commits although I
>> think this required additional steps ...
>>
>> I think with the right git commands involving "git push --force"
>> we could remove them again but this will inconvenience everyone who
>> already pulled.
>>
>> Reverting 867cd1d8 (if it should not be in master yet) will
>> keep the somewhat ugly history but is probably sufficient.

That would be this
$ git log 867cd1d8
commit 867cd1d8d3a03442c86036fed101c6fcf6c7fd04
Author: Lee <ler762 at users.sourceforge.net>
Date:   Mon Dec 14 09:11:30 2020 -0500

    fix compiler warnings about including winsock2.h before windows.h

correct?

> Do you still get the warnings you silenced in 867cd1d8 with
> the attached patch?

No warnings - with or without the -std=c99 gcc option.

I did a quick check & it looks like everything else does it right and
includes winsock2.h before windows.h - eg. jbsockets.c :
#ifdef _WIN32

#ifndef STRICT
#define STRICT
#endif
#include <winsock2.h>
#include <windows.h>
#include <sys/timeb.h>
#include <io.h>

#else

Regards,
Lee


More information about the Privoxy-devel mailing list