mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 00:28:23 +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
|
||||
{$ifdef openbsd}
|
||||
{$if defined(openbsd) or defined (netbsd)}
|
||||
{ At least for openbsd, a positive return value is
|
||||
the length of the returned pchar }
|
||||
else if (ret<0) then
|
||||
|
Loading…
Reference in New Issue
Block a user