mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 08:00:16 -04:00
ModernKeePassLib custom PCL version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
KeePass Password Safe - The Open-Source Password Manager
|
||||
Copyright (C) 2003-2012 Dominik Reichl <dominik.reichl@t-online.de>
|
||||
Copyright (C) 2003-2014 Dominik Reichl <dominik.reichl@t-online.de>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -49,9 +49,9 @@ namespace ModernKeePassLib.Utility
|
||||
try
|
||||
{
|
||||
string strDirSep = string.Empty;
|
||||
strDirSep += Path.DirectorySeparatorChar;
|
||||
strDirSep += UrlUtil.LocalDirSepChar;
|
||||
|
||||
string strTemp = Path.GetTempPath();
|
||||
string strTemp = UrlUtil.GetTempPath();
|
||||
if(!strTemp.EndsWith(strDirSep))
|
||||
strTemp += strDirSep;
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace ModernKeePassLib.Utility
|
||||
strTime = strTime.Replace(':', '-');
|
||||
|
||||
strPath += strTime + "-" + Environment.TickCount.ToString(
|
||||
CultureInfo.InvariantCulture) + ".log.gz";
|
||||
NumberFormatInfo.InvariantInfo) + ".log.gz";
|
||||
|
||||
FileStream fsOut = new FileStream(strPath, FileMode.Create,
|
||||
FileAccess.Write, FileShare.None);
|
||||
@@ -81,12 +81,8 @@ namespace ModernKeePassLib.Utility
|
||||
{
|
||||
if(m_swOut == null) return;
|
||||
|
||||
Debug.Assert(false, "not yet implemented");
|
||||
return;
|
||||
#if TODO
|
||||
m_swOut.Close();
|
||||
m_swOut.Dispose();
|
||||
m_swOut = null;
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Log(string strText)
|
||||
|
Reference in New Issue
Block a user