From 1ad0c5993fe03cd1b4471913d208ea568b580477 Mon Sep 17 00:00:00 2001 From: jinfeihan57 Date: Tue, 30 Jun 2020 16:00:24 +0800 Subject: [PATCH] fix Client7z error --- CPP/7zip/UI/Client7z/Client7z.cpp | 8 +++++++- check/check_Client7z.sh | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CPP/7zip/UI/Client7z/Client7z.cpp b/CPP/7zip/UI/Client7z/Client7z.cpp index d0eca6d21..42a8a33e7 100644 --- a/CPP/7zip/UI/Client7z/Client7z.cpp +++ b/CPP/7zip/UI/Client7z/Client7z.cpp @@ -208,7 +208,7 @@ class CArchiveExtractCallback: STDMETHOD(GetStream)(UInt32 index, ISequentialOutStream **outStream, Int32 askExtractMode); STDMETHOD(PrepareOperation)(Int32 askExtractMode); STDMETHOD(SetOperationResult)(Int32 resultEOperationResult); - + virtual bool SetFileSymLinkAttrib(); // ICryptoGetTextPassword STDMETHOD(CryptoGetTextPassword)(BSTR *aPassword); @@ -244,6 +244,12 @@ class CArchiveExtractCallback: CArchiveExtractCallback() : PasswordIsDefined(false) {} }; +bool CArchiveExtractCallback::SetFileSymLinkAttrib() +{ + /* Do nothing */ + return S_OK; +} + void CArchiveExtractCallback::Init(IInArchive *archiveHandler, const FString &directoryPath) { NumErrors = 0; diff --git a/check/check_Client7z.sh b/check/check_Client7z.sh index 291c985fe..e06072baf 100644 --- a/check/check_Client7z.sh +++ b/check/check_Client7z.sh @@ -89,7 +89,7 @@ chmod -R 777 ${REP} 2> /dev/null rm -fr ${REP} echo "" -echo "========" -echo "ALL DONE" -echo "========" +echo "===========" +echo "ALL SUCCESS" +echo "===========" echo ""