[MPlayer-dev-eng] [PATCH] fix parsing cookies on win32

Alexander Strasser eclipse7 at gmx.net
Sun Mar 29 04:42:26 CEST 2015


On 2015-03-26 23:43 +0100, Alexander Strasser wrote:
> On 2015-02-12 03:58 +0100, Gianluigi Tiesi wrote:
[...]
> > diff --git a/stream/cookies.c b/stream/cookies.c
> > index 1ee5a58..480fdf8 100644
> > --- a/stream/cookies.c
> > +++ b/stream/cookies.c
> > @@ -115,7 +115,7 @@ static char *load_file(const char *filename, off_t * length)
> >  
> >      mp_msg(MSGT_NETWORK, MSGL_V, "Loading cookie file: %s\n", filename);
> >  
> > -    fd = open(filename, O_RDONLY);
> > +    fd = open(filename, O_RDONLY | O_BINARY);
> >      if (fd < 0) {
> >  	mp_msg(MSGT_NETWORK, MSGL_V, "Could not open");
> >  	goto err_out;
> 
>   @all:
>   I intent to apply this soon. If anyone has objections,
> please speak up now or complain on -cvslog later ;-)

  Committed.

Thank you,
  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20150329/8b96db66/attachment.asc>


More information about the MPlayer-dev-eng mailing list