Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path normalization is an issue under linux when capital letters are used in path. #113

Closed
willyvmm opened this issue Feb 18, 2023 · 1 comment

Comments

@willyvmm
Copy link

willyvmm commented Feb 18, 2023

Path normalization is an issue under Linux when capital letters are used in the path.

This little patch should fix this:

diff --git a/src/mp.pas b/src/mp.pas
index c3ea5cb..afbff41 100644
--- a/src/mp.pas
+++ b/src/mp.pas
@@ -34371,7 +34371,9 @@ begin
 	if UnitPath[k] = s then exit;//begin ok:=true; Break end;
 
 //       if not ok then begin
-	NormalizePath( s );
+  {$IFNDEF LINUX}
+  	NormalizePath( s );
+  {$ENDIF}
 
 	k:=High(UnitPath);
 	UnitPath[k] := IncludeTrailingPathDelimiter ( s );

@tebe6502
Copy link
Owner

tebe6502 commented Aug 23, 2023

fixed v1.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants