Browse Source

* fix tiorte.

git-svn-id: branches/unicode@24791 -
marco 12 years ago
parent
commit
0b92607044
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/unix/sysdir.inc

+ 2 - 2
rtl/unix/sysdir.inc

@@ -55,10 +55,10 @@ end;
 Procedure Do_RmDir(s: rawbytestring);[IOCheck];
 
 begin
-  If (S='') or (InOutRes <> 0) then
-    exit;
   if (s='.') then
     InOutRes := 16;
+  If (S='') or (InOutRes <> 0) then
+    exit;
   If Fprmdir(pchar(S))<0 Then
    Errno2Inoutres
   Else