瀏覽代碼

--- Merging r25661 into '.':
U rtl/bsd/ossysc.inc

# revisions: 25661
r25661 | pierre | 2013-10-05 23:23:47 +0200 (Sat, 05 Oct 2013) | 1 line
Changed paths:
M /trunk/rtl/bsd/ossysc.inc

NetBSD getcwd system call also returns string length

git-svn-id: branches/fixes_2_6@25932 -

marco 11 年之前
父節點
當前提交
530271f953
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/bsd/ossysc.inc

+ 1 - 1
rtl/bsd/ossysc.inc

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