[MPlayer-dev-eng] PATCH: disable stdin buffer when reading from stdin

Arpi arpi at thot.banki.hu
Mon Apr 29 16:51:34 CEST 2002


Hi,

> On Monday 29 April 2002 11:04, Fredrik Kuivinen wrote:
> > On Fri, Apr 26, 2002 at 04:50:36PM +0200, Arpi wrote:
> > > 2. is it portable to all currently supported os? looks like lowlevel tty
> > > manipulation stuff, liek in getch2.c, one of the most difficult-to-port
> > > files
> >
> > According to setvbuf(3) setvbuf is in ANSI C.
> hmm, so should we apply or not arpi?
> 
> I checked Open/Free/NetBSD manpages and they all have setvbuf...

apply with #ifdef linux
i'm not sure how usefull is it and will it work on other systems
and few hours before pre2 we shouldn't make such untested changes


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list