소스 검색

* fix for tiorte.pp on WM5.

git-svn-id: trunk@6162 -
yury 18 년 전
부모
커밋
83820db27e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      rtl/win/sysdir.inc

+ 4 - 0
rtl/win/sysdir.inc

@@ -58,6 +58,10 @@ begin
   If (s='') or (InOutRes <> 0) then
    exit;
   dirfn(TDirFnType(@RemoveDirectory),s);
+{$ifdef WINCE}
+  if (Inoutres=3) and (Pos(DirectorySeparator, s)<2) then
+    Inoutres:=2;
+{$endif WINCE}
 end;
 
 procedure chdir(const s:string);[IOCHECK];