mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
Update to lzma 23.01.
This commit is contained in:
8
3rdparty/lzma/CPP/Common/StdOutStream.cpp
vendored
8
3rdparty/lzma/CPP/Common/StdOutStream.cpp
vendored
@@ -11,11 +11,12 @@
|
||||
#include "StringConvert.h"
|
||||
#include "UTFConvert.h"
|
||||
|
||||
#define kFileOpenMode "wt"
|
||||
|
||||
CStdOutStream g_StdOut(stdout);
|
||||
CStdOutStream g_StdErr(stderr);
|
||||
|
||||
/*
|
||||
// #define kFileOpenMode "wt"
|
||||
|
||||
bool CStdOutStream::Open(const char *fileName) throw()
|
||||
{
|
||||
Close();
|
||||
@@ -34,6 +35,7 @@ bool CStdOutStream::Close() throw()
|
||||
_streamIsOpen = false;
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
|
||||
bool CStdOutStream::Flush() throw()
|
||||
{
|
||||
@@ -73,7 +75,7 @@ void CStdOutStream::Convert_UString_to_AString(const UString &src, AString &dest
|
||||
|
||||
static const wchar_t kReplaceChar = '_';
|
||||
|
||||
void CStdOutStream::Normalize_UString__LF_Allowed(UString &s)
|
||||
void CStdOutStream::Normalize_UString_LF_Allowed(UString &s)
|
||||
{
|
||||
unsigned len = s.Len();
|
||||
wchar_t *d = s.GetBuf();
|
||||
|
||||
Reference in New Issue
Block a user