fixed checking readonly for non existing files

git-svn-id: trunk@3901 -
This commit is contained in:
mattias 2003-03-07 13:32:40 +00:00
parent d392a8d123
commit 35d4bc1872

View File

@ -794,7 +794,7 @@ begin
and FIgnoreFileDateOnDiskValid and FIgnoreFileDateOnDiskValid
and (FIgnoreFileDateOnDisk=Source.FileDateOnDisk) then and (FIgnoreFileDateOnDisk=Source.FileDateOnDisk) then
Result:=false; Result:=false;
if not IsVirtual then if (not IsVirtual) and FileExists(Filename) then
FileReadOnly:=FileIsWritable(Filename); FileReadOnly:=FileIsWritable(Filename);
end; end;
@ -2243,6 +2243,9 @@ end.
{ {
$Log$ $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 Revision 1.95 2003/03/07 11:41:21 mattias
fixed readonly check and added script to quick create lazarus snapshot fixed readonly check and added script to quick create lazarus snapshot