mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:19:47 +02:00
docs: CreateRelativePath does not support D:test for thread safety
git-svn-id: trunk@41065 -
This commit is contained in:
parent
363854a331
commit
fd461b8b5b
@ -659,6 +659,9 @@ Duplicate path delimiters are treated as one.
|
||||
In other words if it returns a relative file name then the following is true:
|
||||
TrimFilename(Filename) = TrimFilename(BaseDirectory+PathDelim+Result).
|
||||
|
||||
This function is thread safe and therefore does not support current directories
|
||||
as needed by Windows file names like D:test.
|
||||
|
||||
Filename='/a' BaseDir='/a' Result=''
|
||||
Filename='/a' BaseDir='/a' UsePointDirectory=true Result='.'
|
||||
Filename='/a' BaseDir='/a/' Result=''
|
||||
|
@ -529,7 +529,11 @@ If there is no relative path it returns Filename.
|
||||
If BaseDirectory and Filename are the same and UsePointDirectory is false it returns the empty string. If UsePointDirectory is true it returns '.'.
|
||||
Duplicate path delimiters are treated as one.
|
||||
In other words if it returns a relative file name then the following is true:
|
||||
TrimFilename(Filename) = TrimFilename(BaseDirectory+PathDelim+Result).</descr>
|
||||
TrimFilename(Filename) = TrimFilename(BaseDirectory+PathDelim+Result).
|
||||
|
||||
This function is thread safe and therefore does not support current directories
|
||||
as needed by Windows file names like D:test.
|
||||
</descr>
|
||||
<errors>
|
||||
</errors>
|
||||
<seealso>
|
||||
|
Loading…
Reference in New Issue
Block a user