mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
Do not lowercase executable names in Unix systems.
This commit is contained in:
parent
7949e53d8a
commit
11d542cf8f
@ -155,7 +155,8 @@ begin
|
||||
NoPath:=false; {Skip lowercasing path: 'X11'<>'x11' }
|
||||
end;
|
||||
'A'..'Z' : if NoPath then
|
||||
FixFileName[i]:=AnsiChar(byte(s[i])+ord('a')-ord('A'))
|
||||
{FixFileName[i]:=char(byte(s[i])+ord('a')-ord('A'))}
|
||||
FixFileName[i]:=s[i] {leave case as is, not sure why lowercasing to begin with}
|
||||
else
|
||||
FixFileName[i]:=s[i];
|
||||
{$else}
|
||||
|
Loading…
Reference in New Issue
Block a user