--- a/commands/fzip/fzip.cpp Tue Oct 26 15:36:30 2010 +0100
+++ b/commands/fzip/fzip.cpp Thu Oct 28 16:54:54 2010 +0100
@@ -374,8 +374,16 @@
if (aMember.Name()->Right(1) == _L("\\")) return; // It's a directory entry, nothing more to be done
// prep. the stream
- RZipFileMemberReaderStream* readStream;
- aZip.GetInputStreamL(&aMember, readStream);
+ RZipFileMemberReaderStream* readStream = NULL;
+ err = aZip.GetInputStreamL(&aMember, readStream);
+ if (err == CZipFile::KCompressionMethodNotSupported)
+ {
+ LeaveIfErr(KErrNotSupported, _L("Zip compression method not supported"));
+ }
+ else
+ {
+ LeaveIfErr(err, _L("Unable to get input stream"));
+ }
CleanupStack::PushL(readStream);
if (iOverwrite)