NetBSD getcwd system call also returns string length

git-svn-id: trunk@25661 -
This commit is contained in:
pierre 2013-10-05 21:23:47 +00:00
parent 6bf7072a33
commit 8a0dccf590

View File

@ -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