Browse Source

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

Sven/Sarah Barth 6 months ago
parent
commit
be117b33d3

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