switch to standard conform CRT function names

svn path=/trunk/; revision=19745
This commit is contained in:
Martin Fuchs 2005-11-29 09:22:39 +00:00
parent aaa0559058
commit 8153fdd194
4 changed files with 5 additions and 5 deletions

View file

@ -985,7 +985,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL
_dup2(_open_osfhandle((long)GetStdHandle(STD_OUTPUT_HANDLE), 0), 1);
_dup2(_open_osfhandle((long)GetStdHandle(STD_ERROR_HANDLE), 0), 2);
g_Globals._log = fdopen(1, "w");
g_Globals._log = _fdopen(1, "w");
setvbuf(g_Globals._log, 0, _IONBF, 0);
LOG(TEXT("starting explorer debug log\n"));

View file

@ -548,7 +548,7 @@ int FileChildWindow::Command(int id, int code)
}
void FileChildWindow::activate_entry(Pane* pane) ///@todo enable using <RETURN> key accelerator
void FileChildWindow::activate_entry(Pane* pane) ///@todo enable using RETURN key accelerator
{
Entry* entry = pane->_cur;

View file

@ -328,7 +328,7 @@ void NtObjDirectory::read_directory(int scan_flags)
#else
char type_name[32];
WideCharToMultiByte(CP_ACP, 0, info->type.string_ptr, info->type.string_len, type_name, 32, 0, 0);
entry->_type_name = strdup(type_name);
entry->_type_name = _strdup(type_name);
#endif
if (!first_entry)

View file

@ -72,9 +72,9 @@ bool Bookmark::read_url(LPCTSTR path)
while(isspace(*cont))
++cont;
if (!strnicmp(keyword, "URL", 3))
if (!_strnicmp(keyword, "URL", 3))
_url = DecodeURLString(cont);
else if (!strnicmp(keyword, "IconFile", 8))
else if (!_strnicmp(keyword, "IconFile", 8))
_icon_path = DecodeURLString(cont);
}
}