View Issue Details

IDProjectCategoryView StatusLast Update
0035206LazarusLazUtilspublic2019-03-10 00:55
ReporterRik van KekemAssigned ToBart Broersma 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformOSWindowsOS Version
Product Version2.1 (SVN)Product Build 
Target Version2.2Fixed in Version2.1 (SVN) 
Summary0035206: FileUtils produces error compiling trunk on Windows
DescriptionIn the latest FileUtil.pas there is a comma places wrong.

(If not compiled under Unix)

- sffFindProgramInPath = [{$IFDEF Unix}sffDontSearchInBasePath{$ENDIF},sffFile,sffExecutable];
TagsNo tags attached.
Fixed in Revisionr60623
LazTarget-
Widgetset
Attached Files
  • fileutil.pas.patch (581 bytes)
    Index: fileutil.pas
    ===================================================================
    --- fileutil.pas	(revision 60622)
    +++ fileutil.pas	(working copy)
    @@ -83,7 +83,7 @@
         );
       TSearchFileInPathFlags = set of TSearchFileInPathFlag;
     const
    -  sffFindProgramInPath = [{$IFDEF Unix}sffDontSearchInBasePath{$ENDIF},sffFile,sffExecutable];
    +  sffFindProgramInPath = [{$IFDEF Unix}sffDontSearchInBasePath,{$ENDIF}sffFile,sffExecutable];
     
     function SearchFileInPath(const Filename, BasePath, SearchPath,
       Delimiter: string; Flags: TSearchFileInPathFlags): string; overload;
    
    fileutil.pas.patch (581 bytes)

Activities

Rik van Kekem

2019-03-08 15:47

reporter  

fileutil.pas.patch (581 bytes)
Index: fileutil.pas
===================================================================
--- fileutil.pas	(revision 60622)
+++ fileutil.pas	(working copy)
@@ -83,7 +83,7 @@
     );
   TSearchFileInPathFlags = set of TSearchFileInPathFlag;
 const
-  sffFindProgramInPath = [{$IFDEF Unix}sffDontSearchInBasePath{$ENDIF},sffFile,sffExecutable];
+  sffFindProgramInPath = [{$IFDEF Unix}sffDontSearchInBasePath,{$ENDIF}sffFile,sffExecutable];
 
 function SearchFileInPath(const Filename, BasePath, SearchPath,
   Delimiter: string; Flags: TSearchFileInPathFlags): string; overload;
fileutil.pas.patch (581 bytes)

Bart Broersma

2019-03-08 18:08

developer   ~0114722

Fixed in r60623 by Marcus.
Please test and close if OK.

Rik van Kekem

2019-03-10 00:55

reporter   ~0114754

Worked. Thnx.

Issue History

Date Modified Username Field Change
2019-03-08 15:47 Rik van Kekem New Issue
2019-03-08 15:47 Rik van Kekem File Added: fileutil.pas.patch
2019-03-08 16:27 Bart Broersma LazTarget => -
2019-03-08 16:27 Bart Broersma Severity minor => major
2019-03-08 18:08 Bart Broersma Fixed in Revision => r60623
2019-03-08 18:08 Bart Broersma Note Added: 0114722
2019-03-08 18:08 Bart Broersma Status new => resolved
2019-03-08 18:08 Bart Broersma Fixed in Version => 2.1 (SVN)
2019-03-08 18:08 Bart Broersma Resolution open => fixed
2019-03-08 18:08 Bart Broersma Assigned To => Bart Broersma
2019-03-08 18:08 Bart Broersma Target Version => 2.2
2019-03-10 00:55 Rik van Kekem Note Added: 0114754
2019-03-10 00:55 Rik van Kekem Status resolved => closed