[MPlayer-cvslog] r21689 - trunk/stream/stream_file.c
Aurelien Jacobs
aurel at gnuage.org
Thu Dec 21 23:52:12 CET 2006
On Thu, 21 Dec 2006 23:43:27 +0100
Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
> Aurelien Jacobs wrote:
>
> >Why not simply use:
> > f=open(filename,m,0666);
> >
> >Aurel
> >
> >
> is it guaranteed to be 100% correct on all platforms?
I don't know any platforms where it wouldn't be correct.
man 2 open even specify those numeric values and there's no
special note about their portably. So I guess it's pretty
safe to use 0666 directly.
Aurel
More information about the MPlayer-cvslog
mailing list