[vlc-devel] [vlc-commits] Remove harmful HAVE_SEARCH_H

Rémi Denis-Courmont remi at remlab.net
Thu May 24 12:29:12 CEST 2018


The CoC says to discuss before applying a revert, which is not the same as asking permission from the author. This is not a revert anyway; your patch fixed DTV on systems without search.h. That fix is still in place.

Le 24 mai 2018 09:58:57 GMT+03:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>On 2018-05-23 8:33 PM, Rémi Denis-Courmont wrote:
>> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed
>May 23 20:53:35 2018 +0300| [eca2be7d7fb8a02f7a27f57bd49261eebd115dcb]
>| committer: Rémi Denis-Courmont
>>
>> Remove harmful HAVE_SEARCH_H
>>
>> This fixes building the keysym generator.
>> Regression from 3cea7a78999068f71972094e849f95c1591d3e3a.
>
>How can this be harmful ? If the file is not there it should not be
>used.
>
>Can we revert changes without asking the original author ?
>
>>
>>>
>http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eca2be7d7fb8a02f7a27f57bd49261eebd115dcb
>> ---
>>
>>   modules/services_discovery/pulse.c | 2 --
>>   modules/services_discovery/udev.c  | 2 --
>>   modules/video_output/xcb/keysym.c  | 2 --
>>   3 files changed, 6 deletions(-)
>>
>> diff --git a/modules/services_discovery/pulse.c
>b/modules/services_discovery/pulse.c
>> index 839fb6a6fd..03ad22561d 100644
>> --- a/modules/services_discovery/pulse.c
>> +++ b/modules/services_discovery/pulse.c
>> @@ -24,9 +24,7 @@
>>   # include <config.h>
>>   #endif
>>   
>> -#ifdef HAVE_SEARCH_H
>>   #include <search.h>
>> -#endif
>>   #include <assert.h>
>>   
>>   #include <vlc_common.h>
>> diff --git a/modules/services_discovery/udev.c
>b/modules/services_discovery/udev.c
>> index 65cf7e267b..d297f4708d 100644
>> --- a/modules/services_discovery/udev.c
>> +++ b/modules/services_discovery/udev.c
>> @@ -25,9 +25,7 @@
>>   #endif
>>   
>>   #include <errno.h>
>> -#ifdef HAVE_SEARCH_H
>>   #include <search.h>
>> -#endif
>>   #include <poll.h>
>>   #include <sys/stat.h>
>>   #include <fcntl.h>
>> diff --git a/modules/video_output/xcb/keysym.c
>b/modules/video_output/xcb/keysym.c
>> index f131013154..ad4e31c8a7 100644
>> --- a/modules/video_output/xcb/keysym.c
>> +++ b/modules/video_output/xcb/keysym.c
>> @@ -25,9 +25,7 @@
>>   #include <stdlib.h>
>>   #include <inttypes.h>
>>   #include <limits.h>
>> -#ifdef HAVE_SEARCH_H
>>   #include <search.h>
>> -#endif
>>   #include <assert.h>
>>   
>>   struct keysym
>>
>> _______________________________________________
>> vlc-commits mailing list
>> vlc-commits at videolan.org
>> https://mailman.videolan.org/listinfo/vlc-commits
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180524/6c024f2b/attachment.html>


More information about the vlc-devel mailing list