소스 검색

* the null file is called NUL, not NULL on Windows/WinCE

Sven/Sarah Barth 8 달 전
부모
커밋
be117b33d3
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      packages/fcl-process/src/win/process.inc
  2. 1 1
      packages/fcl-process/src/wince/process.inc

+ 1 - 1
packages/fcl-process/src/win/process.inc

@@ -384,7 +384,7 @@ end;
 
 function TIODescriptor.SysNullFileName: string;
 begin
-  result:='NULL';
+  result:='NUL';
 end;
 
 function TIODescriptor.SysIsTypeSupported(AValue: TIOType): Boolean;

+ 1 - 1
packages/fcl-process/src/wince/process.inc

@@ -409,7 +409,7 @@ end;
 
 function TIODescriptor.SysNullFileName: string;
 begin
-  result:='NULL';
+  result:='NUL';
 end;
 
 function TIODescriptor.SysIsTypeSupported(AValue: TIOType): Boolean;