equal
deleted
inserted
replaced
372 LeaveIfErr(err, _L("Couldn't create directory for file %S"), &dest); |
372 LeaveIfErr(err, _L("Couldn't create directory for file %S"), &dest); |
373 } |
373 } |
374 if (aMember.Name()->Right(1) == _L("\\")) return; // It's a directory entry, nothing more to be done |
374 if (aMember.Name()->Right(1) == _L("\\")) return; // It's a directory entry, nothing more to be done |
375 |
375 |
376 // prep. the stream |
376 // prep. the stream |
377 RZipFileMemberReaderStream* readStream; |
377 RZipFileMemberReaderStream* readStream = NULL; |
378 aZip.GetInputStreamL(&aMember, readStream); |
378 err = aZip.GetInputStreamL(&aMember, readStream); |
|
379 if (err == CZipFile::KCompressionMethodNotSupported) |
|
380 { |
|
381 LeaveIfErr(KErrNotSupported, _L("Zip compression method not supported")); |
|
382 } |
|
383 else |
|
384 { |
|
385 LeaveIfErr(err, _L("Unable to get input stream")); |
|
386 } |
379 CleanupStack::PushL(readStream); |
387 CleanupStack::PushL(readStream); |
380 |
388 |
381 if (iOverwrite) |
389 if (iOverwrite) |
382 { |
390 { |
383 err = newFile.Replace(Fs(), dest, EFileShareExclusive); |
391 err = newFile.Replace(Fs(), dest, EFileShareExclusive); |