[vlc-devel] vlc: svn commit r25271 (pdherbemont)

Pierre d'Herbemont pdherbemont at free.fr
Wed Feb 27 10:04:01 CET 2008


On Feb 25, 2008, at 5:09 PM, Rémi Denis-Courmont wrote:

> Le Saturday 23 February 2008 23:53:00 Subversion daemon, vous avez  
> écrit :
>> r25271 | pdherbemont | 2008-02-23 22:52:59 +0100 (Sat, 23 Feb 2008)  
>> | 2
>> lines Changed paths:
>>   M /trunk/extras/buildsystem/cmake/include/config.cmake
>>
>> cmake: Don't use poll() on Mac OS X, as it can't poll a tty properly.
>
> Very bad idea. This introduces a trivial buffer overflow whenever  
> FD_SET and
> FD_ISSET are used.

hum. How can I fix this?

poll is really broken on Mac OS X with tty. I may want to see if we  
are using a tty and if so fallback to select, but I believe it may be  
way easier if that was fixable.

Pierre.


More information about the vlc-devel mailing list