mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 12:39:23 +02:00
lazutils: clean up
git-svn-id: trunk@41439 -
This commit is contained in:
parent
b40fb20f03
commit
3a9e8d9e0c
@ -37,7 +37,7 @@ ToDo:
|
||||
- Any other functions/procedures that are needed in LazFileUtils too, should be moved
|
||||
to LazFileUtils, and in Fileutil inlined to use LazileUtils counterparts
|
||||
|
||||
PLEASE DO NOT ADD MORE UTF8 RELATED (FILE) ROUTINES TO THIS UNIT !
|
||||
DO NOT ADD MORE UTF8 RELATED (FILE) ROUTINES TO THIS UNIT !
|
||||
|
||||
***************************************************************************** }
|
||||
unit FileUtil;
|
||||
@ -47,7 +47,7 @@ unit FileUtil;
|
||||
interface
|
||||
|
||||
uses
|
||||
SysConst, Classes, SysUtils, Masks, LazUtilsStrConsts, lazutf8, LazFileUtils;
|
||||
Classes, SysUtils, Masks, LazUtilsStrConsts, LazUTF8, LazFileUtils;
|
||||
|
||||
{$if defined(Windows) or defined(darwin)}
|
||||
{$define CaseInsensitiveFilenames}
|
||||
|
@ -1,7 +1,5 @@
|
||||
{%MainUnit fileutil.pas}
|
||||
|
||||
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
GetFileDescription
|
||||
------------------------------------------------------------------------------}
|
||||
@ -27,8 +25,6 @@ begin
|
||||
Result:=Filename;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
function ConsoleToUTF8(const s: string): string;// converts UTF8 string to console encoding (used by Write, WriteLn)
|
||||
var
|
||||
Dst: PChar;
|
||||
|
Loading…
Reference in New Issue
Block a user