[MPlayer-dev-eng] Re: [PATCH] make demuxer_get_percent_pos() recheck file length

Joey Parrish joey at nicewarrior.org
Tue Oct 4 01:24:52 CEST 2005


On Mon, Oct 03, 2005 at 05:25:26PM -0400, Rich Felker wrote:
> On Mon, Oct 03, 2005 at 10:38:40PM +0300, Jan Knutar wrote:
> > On Monday 03 October 2005 20:55, Oded Shimon wrote:
> > > I dunno anything about windows API, but does it have integer file 
> > > descriptors?
> > 
> > More importantly, for example a network file descriptor and a regular file
> > descriptor are different under Windows and you can't use the same calls
> > on them (i.e. if you have a network one you can't read() it). Dunno if
> > mingw/cygwin hides this from you though. I suspect MinGW/MSYS does
> > not.
> 
> Of course cygwin 'hides' it since it's in blatent violation of posix.
> Unfortunately mingw doesn't. :(

It does have integral fds.  They are not interchangable with sockets.
Both are integers.  Cygwin sockets behave like unix sockets.  Cygwin
sockets and fds are both mapped internally to windows native ones.

--Joey

-- 
Me: "Isn't Kennedy as real as Colonel Sanders?"
Chad: "... Which Kennedy?"




More information about the MPlayer-dev-eng mailing list