• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision7426 (tree)
Time2019-02-11 01:02:18
Authorzmatsuo

Log Message

CreateFileA()を明示的に使うようにした

Change Summary

Incremental Difference

--- branches/cmake/teraterm/teraterm/ttfileio.c (revision 7425)
+++ branches/cmake/teraterm/teraterm/ttfileio.c (revision 7426)
@@ -1,5 +1,5 @@
11 /*
2- * Copyright (C) 2008-2017 TeraTerm Project
2+ * Copyright (C) 2008-2019 TeraTerm Project
33 * All rights reserved.
44 *
55 * Redistribution and use in source and binary forms, with or without
@@ -54,7 +54,7 @@
5454 else {
5555 PWriteFile = WriteFile;
5656 }
57- PCreateFile = CreateFile;
57+ PCreateFile = CreateFileA;
5858 PCloseFile = CloseHandle;
5959 return;
6060 }
--- branches/cmake/teraterm/teraterm/ttfileio.h (revision 7425)
+++ branches/cmake/teraterm/teraterm/ttfileio.h (revision 7426)
@@ -1,5 +1,5 @@
11 /*
2- * Copyright (C) 2008-2017 TeraTerm Project
2+ * Copyright (C) 2008-2019 TeraTerm Project
33 * All rights reserved.
44 *
55 * Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,7 @@
3838 (HANDLE FHandle, LPCVOID Buff, DWORD WriteSize, LPDWORD WriteBytes,
3939 LPOVERLAPPED WriteOverLap);
4040 typedef HANDLE (WINAPI *TCreateFile)
41- (LPCTSTR FName, DWORD AcMode, DWORD ShMode, LPSECURITY_ATTRIBUTES SecAttr,
41+ (LPCSTR FName, DWORD AcMode, DWORD ShMode, LPSECURITY_ATTRIBUTES SecAttr,
4242 DWORD CreateDisposition, DWORD FileAttr, HANDLE Template);
4343 typedef BOOL (WINAPI *TCloseFile)
4444 (HANDLE FHandle);
Show on old repository browser