mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:39:14 +02:00
lazutils: comment
git-svn-id: trunk@48076 -
This commit is contained in:
parent
918aec7c95
commit
faa8237679
@ -120,6 +120,16 @@ end;
|
|||||||
constructor TFileStreamUTF8.Create(const AFileName: string; Mode: Word);
|
constructor TFileStreamUTF8.Create(const AFileName: string; Mode: Word);
|
||||||
begin
|
begin
|
||||||
Create(AFileName,Mode,438);
|
Create(AFileName,Mode,438);
|
||||||
|
{ Rights 438 is the default in the FCL TFileStream
|
||||||
|
Under Unix:
|
||||||
|
438 = $1B6 =
|
||||||
|
6 = owner can read/write
|
||||||
|
B = group can read/write, set group id
|
||||||
|
1 = others can read
|
||||||
|
Note: the real rights are "Rights and not umask", so "set group id" is
|
||||||
|
usually not set.
|
||||||
|
Under Windows Rights is not used.
|
||||||
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TFileStreamUTF8.Create(const AFileName: string; Mode: Word; Rights: Cardinal);
|
constructor TFileStreamUTF8.Create(const AFileName: string; Mode: Word; Rights: Cardinal);
|
||||||
|
Loading…
Reference in New Issue
Block a user