[Lazarus] Removing read-only files in FileUtil.DeleteDirectory ?

Howard Page-Clark hdpc at talktalk.net
Mon Apr 30 13:06:58 CEST 2012


On 30/4/12 11:45, Bart wrote:
> On 4/29/12, Juha Manninen<juha.manninen62 at gmail.com>  wrote:
>

> I would change the declaration to:
>
> function DeleteDirectory(const DirectoryName: string;
>       OnlyChilds: boolean; const RemoveReadOnlyFiles: Boolean = False): boolean;

If the suggestion is adopted it needs to be

function DeleteDirectory(const DirectoryName: string;
        OnlyChildren: boolean; ...






More information about the Lazarus mailing list