* @author Perry Rapp, Creator, 2003-2005
* @author Kimmo Varis, 2004-2005
* @date Created: 2003-10
- * @date Edited: 2005-02-26 (Jochen Tucht)
+ * @date Edited: 2005-03-13 (Kimmo Varis)
*
* @brief Implementation of Unicode enabled file classes (Memory-mapped reader class, and Stdio replacement class)
*/
#include "UniFile.h"
#include "unicoder.h"
#include "codepage.h"
+#include "paths.h" // paths_GetLongPath()
#ifdef _DEBUG
#define new DEBUG_NEW
m_statusFetched = -1;
m_lastError.ClearError();
- GetLongPathName(m_filepath, m_filepath.GetBuffer(MAX_PATH), MAX_PATH);
- m_filepath.ReleaseBuffer();
+ m_filepath = paths_GetLongPath(m_filepath);
if (_tstati64(m_filepath, &fstats) == 0)
{
+2005-03-13 Kimmo
+ BUG: [ 1162374 ] Recent WinMerge doesn't support NT4
+ Src/Common: UniFile.cpp
+
2005-03-13 Jochen
BUG: [ 1162369 ] short path name problem
Fix paths_GetLongPath(), which erroneously added trailing backslash when passing in short path.