浏览代码

* 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;