[MPlayer-cvslog] r21689 - trunk/stream/stream_file.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Dec 21 20:19:26 CET 2006


Hello,
On Tue, Dec 19, 2006 at 10:11:59PM +0100, nicodvb wrote:
> Author: nicodvb
> Date: Tue Dec 19 22:11:58 2006
> New Revision: 21689
> 
> Modified:
>    trunk/stream/stream_file.c
> 
> Log:
> in WRITE mode open the output file with mode 0666; umask will filter it
> 
> Modified: trunk/stream/stream_file.c
> ==============================================================================
> --- trunk/stream/stream_file.c	(original)
> +++ trunk/stream/stream_file.c	Tue Dec 19 22:11:58 2006
> @@ -136,7 +136,7 @@
>      if(mode == STREAM_READ)
>        f=open(filename,m);
>      else
> -      f=open(filename,m, S_IRUSR|S_IWUSR);
> +      f=open(filename,m, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);

Breaks MinGW compilation, S_IRGRP, S_IWGRP, S_IROTH and S_IWOTH are not
defined.

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list