소스 검색

* probably a fix for bug #615

pierre 25 년 전
부모
커밋
53d50a62a4
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      compiler/globals.pas

+ 5 - 2
compiler/globals.pas

@@ -1120,7 +1120,7 @@ implementation
          else
           begin
             CurrPath:=FixPath(FExpand(CurrPath),false);
-            if (Copy(CurrPath,1,length(CurrentDir))=CurrentDir) then
+            if (CurrentDir<>'') and (Copy(CurrPath,1,length(CurrentDir))=CurrentDir) then
              CurrPath:='.'+DirSep+Copy(CurrPath,length(CurrentDir)+1,255);
           end;
          { wildcard adding ? }
@@ -1563,7 +1563,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.55  2000-03-08 15:39:45  daniel
+  Revision 1.56  2000-03-20 16:04:05  pierre
+   * probably a fix for bug 615
+
+  Revision 1.55  2000/03/08 15:39:45  daniel
     + Added align_from_size function as suggested by Peter.
 
   Revision 1.54  2000/02/28 17:23:57  daniel