mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 04:50:30 +02:00
NetBSD getcwd system call also returns string length
git-svn-id: trunk@25661 -
This commit is contained in:
parent
6bf7072a33
commit
8a0dccf590
@ -572,7 +572,7 @@ begin
|
|||||||
End;
|
End;
|
||||||
End
|
End
|
||||||
end
|
end
|
||||||
{$ifdef openbsd}
|
{$if defined(openbsd) or defined (netbsd)}
|
||||||
{ At least for openbsd, a positive return value is
|
{ At least for openbsd, a positive return value is
|
||||||
the length of the returned pchar }
|
the length of the returned pchar }
|
||||||
else if (ret<0) then
|
else if (ret<0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user