|
@@ -177,7 +177,7 @@ bbdoc: Gets the real, absolute path of a file path
|
|
End Rem
|
|
End Rem
|
|
Function RealPath$( path$ )
|
|
Function RealPath$( path$ )
|
|
?Win32
|
|
?Win32
|
|
- If path.StartsWith( "/" ) And Not path.StartsWith( "//" )
|
|
|
|
|
|
+ If Not MaxIO.ioInitialized And path.StartsWith( "/" ) And Not path.StartsWith( "//" )
|
|
path=_CurrentDrive()+":"+path
|
|
path=_CurrentDrive()+":"+path
|
|
EndIf
|
|
EndIf
|
|
?
|
|
?
|
|
@@ -185,7 +185,9 @@ Function RealPath$( path$ )
|
|
Local cd$=_RootPath( path )
|
|
Local cd$=_RootPath( path )
|
|
|
|
|
|
If cd
|
|
If cd
|
|
- path=path[cd.length..]
|
|
|
|
|
|
+ If Not MaxIO.ioInitialized Then
|
|
|
|
+ path=path[cd.length..]
|
|
|
|
+ End If
|
|
Else
|
|
Else
|
|
cd=CurrentDir()
|
|
cd=CurrentDir()
|
|
EndIf
|
|
EndIf
|