[Ttssh2-commit] [9303] wcsdup() -> _wcsdup()

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 6月 13日 (日) 00:29:07 JST


Revision: 9303
          https://osdn.net/projects/ttssh2/scm/svn/commits/9303
Author:   zmatsuo
Date:     2021-06-13 00:29:07 +0900 (Sun, 13 Jun 2021)
Log Message:
-----------
wcsdup() -> _wcsdup()

- 警告対応
  warning C4996: 'wcsdup': The POSIX name for this item is deprecated.
  Instead, use the ISO C and C++ conformant name: _wcsdup.
  See online help for details.

Modified Paths:
--------------
    trunk/teraterm/common/dllutil.cpp

-------------- next part --------------
Modified: trunk/teraterm/common/dllutil.cpp
===================================================================
--- trunk/teraterm/common/dllutil.cpp	2021-06-12 15:26:11 UTC (rev 9302)
+++ trunk/teraterm/common/dllutil.cpp	2021-06-12 15:29:07 UTC (rev 9303)
@@ -98,7 +98,7 @@
 	HandleListCount++;
 	HandleList = (HandleList_t *)realloc(HandleList, sizeof(HandleList_t)*HandleListCount);
 	p = &HandleList[i];
-	p->dllName = wcsdup(dllName);
+	p->dllName = _wcsdup(dllName);
 	p->handle = module;
 	p->LoadFlag = LoadFlag;
 	p->refCount = 1;


Ttssh2-commit メーリングリストの案内
Back to archive index