mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 21:40:20 +02:00
fixed checking readonly for non existing files
git-svn-id: trunk@3901 -
This commit is contained in:
parent
d392a8d123
commit
35d4bc1872
@ -794,7 +794,7 @@ begin
|
||||
and FIgnoreFileDateOnDiskValid
|
||||
and (FIgnoreFileDateOnDisk=Source.FileDateOnDisk) then
|
||||
Result:=false;
|
||||
if not IsVirtual then
|
||||
if (not IsVirtual) and FileExists(Filename) then
|
||||
FileReadOnly:=FileIsWritable(Filename);
|
||||
end;
|
||||
|
||||
@ -2243,6 +2243,9 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.96 2003/03/07 13:32:40 mattias
|
||||
fixed checking readonly for non existing files
|
||||
|
||||
Revision 1.95 2003/03/07 11:41:21 mattias
|
||||
fixed readonly check and added script to quick create lazarus snapshot
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user