Skip to content

Commit

Permalink
fix Client7z error
Browse files Browse the repository at this point in the history
  • Loading branch information
jinfeihan57 committed Jun 30, 2020
1 parent abdfc45 commit 1ad0c59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CPP/7zip/UI/Client7z/Client7z.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions check/check_Client7z.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

0 comments on commit 1ad0c59

Please sign in to comment.