[PATCH v2] ws2_32: Drop dependencies on system getprotoby(name|number) functions

Alexandre Julliard julliard at winehq.org
Tue Jul 14 11:25:06 CDT 2020


Alex Henrie <alexhenrie24 at gmail.com> writes:

>  On Tue, Jul 14, 2020 at 9:41 AM Zebediah Figura <z.figura12 at gmail.com> wrote:
>>
>> > +    /* keep this list sorted by number for binary search */
>>
>> This seems to me like it should be a separate patch.
>
> Why? I have to change the implementation of getprotobynumber anyway,
> and I don't want to cause a performance regression, so it seems that I
> might as well put in the binary search at the same time.
> 
> [...]
> 
> It's meant to mirror the format of the other ok statements in
> test_getprotobyname and test_getprotobynumber. But it's just a style
> thing; I'll delete the line break here if more people say that they
> don't like it.

In these cases and in general, please accept criticism and make the
requested changes, without requesting input from more people. If someone
reviewed your patch and told you that some things need changing, it's
safe to assume that you should make the changes and resubmit.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list