소스 검색

* win16 do_open: zero fill regs before attempting to open the file a second time

git-svn-id: trunk@31870 -
nickysn 10 년 전
부모
커밋
eaf719a623
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      rtl/win16/sysfile.inc

+ 1 - 0
rtl/win16/sysfile.inc

@@ -332,6 +332,7 @@ begin
     if regs.AX=4 then
       if Increase_file_handle_count then
         begin
+          FillChar(regs,SizeOf(regs),0);
           { Try again }
           if LFNSupport then
             begin