tried to make umask comment make more sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,9 +39,11 @@
|
|||||||
#define wxS_IWOTH 00002
|
#define wxS_IWOTH 00002
|
||||||
#define wxS_IXOTH 00001
|
#define wxS_IXOTH 00001
|
||||||
|
|
||||||
// default mode for the new files: corresponds to umask 022
|
// default mode for the new files: allow reading/writing them to everybody but
|
||||||
#define wxS_DEFAULT (wxS_IRUSR | wxS_IWUSR | wxS_IRGRP | wxS_IWGRP |\
|
// the effective file mode will be set after anding this value with umask and
|
||||||
wxS_IROTH | wxS_IWOTH)
|
// so won't include wxS_IW{GRP,OTH} for the default 022 umask value
|
||||||
|
#define wxS_DEFAULT \
|
||||||
|
(wxS_IRUSR | wxS_IWUSR | wxS_IRGRP | wxS_IWGRP | wxS_IROTH | wxS_IWOTH)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// class wxFile: raw file IO
|
// class wxFile: raw file IO
|
||||||
|
Reference in New Issue
Block a user