mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 10:10:40 +01:00
* try to solve bug report 2102 part B
This commit is contained in:
parent
bddbfae551
commit
cd7040b19e
@ -2519,7 +2519,11 @@ begin
|
||||
FindFirst(ExpPath, Directory, SR);
|
||||
PathValid := (DosError = 0) and (SR.Attr and Directory <> 0);
|
||||
{$ifdef NetDrive}
|
||||
if DosError=66 then
|
||||
if (DosError=66)
|
||||
{$ifdef win32}
|
||||
or (DosError=123)
|
||||
{$endif win32}
|
||||
then
|
||||
begin
|
||||
{$ifdef fpc}
|
||||
FindClose(SR);
|
||||
|
||||
@ -2519,7 +2519,11 @@ begin
|
||||
FindFirst(ExpPath, Directory, SR);
|
||||
PathValid := (DosError = 0) and (SR.Attr and Directory <> 0);
|
||||
{$ifdef NetDrive}
|
||||
if DosError=66 then
|
||||
if (DosError=66)
|
||||
{$ifdef win32}
|
||||
or (DosError=123)
|
||||
{$endif win32}
|
||||
then
|
||||
begin
|
||||
{$ifdef fpc}
|
||||
FindClose(SR);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user