• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision11018 (tree)
Time2023-10-22 00:15:55
Authorzmatsuo

Log Message

警告対策

- warning C4996: 'strdup': The POSIX name for this item is deprecated.

Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.

Change Summary

Incremental Difference

--- trunk/teraterm/teraterm/vtwin.cpp (revision 11017)
+++ trunk/teraterm/teraterm/vtwin.cpp (revision 11018)
@@ -4313,7 +4313,7 @@
43134313
43144314 SetDialogFont(ts.DialogFontNameW, ts.DialogFontPoint, ts.DialogFontCharSet,
43154315 ts.UILanguageFileW, "Tera Term", "DLG_SYSTEM_FONT");
4316- char *orgTitle = strdup(ts.Title);
4316+ char *orgTitle = _strdup(ts.Title);
43174317 Ok = (*SetupWin)(HVTWin, &ts);
43184318
43194319 if (Ok) {
Show on old repository browser