Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8cb69cc8
Kaydet (Commit)
8cb69cc8
authored
Tem 07, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-1 -> Z_ERRNO for clarity
Change-Id: I29aa8531646f416a72b89f7571b757c39705c31a
üst
48ebe098
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
zcodec.cxx
tools/source/zcodec/zcodec.cxx
+3
-3
No files found.
tools/source/zcodec/zcodec.cxx
Dosyayı görüntüle @
8cb69cc8
...
@@ -153,7 +153,7 @@ long ZCodec::Decompress( SvStream& rIStm, SvStream& rOStm )
...
@@ -153,7 +153,7 @@ long ZCodec::Decompress( SvStream& rIStm, SvStream& rOStm )
UpdateCRC
(
mpInBuf
,
nInToRead
);
UpdateCRC
(
mpInBuf
,
nInToRead
);
}
}
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
-
1
;
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
Z_ERRNO
;
if
(
err
<
0
)
if
(
err
<
0
)
{
{
mbStatus
=
false
;
mbStatus
=
false
;
...
@@ -220,7 +220,7 @@ long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize )
...
@@ -220,7 +220,7 @@ long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize )
UpdateCRC
(
mpInBuf
,
nInToRead
);
UpdateCRC
(
mpInBuf
,
nInToRead
);
}
}
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
-
1
;
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
Z_ERRNO
;
if
(
err
<
0
)
if
(
err
<
0
)
{
{
// Accept Z_BUF_ERROR as EAGAIN or EWOULDBLOCK.
// Accept Z_BUF_ERROR as EAGAIN or EWOULDBLOCK.
...
@@ -273,7 +273,7 @@ long ZCodec::ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize
...
@@ -273,7 +273,7 @@ long ZCodec::ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize
UpdateCRC
(
mpInBuf
,
nInToRead
);
UpdateCRC
(
mpInBuf
,
nInToRead
);
}
}
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
-
1
;
err
=
mbStatus
?
inflate
(
PZSTREAM
,
Z_NO_FLUSH
)
:
Z_ERRNO
;
if
(
err
<
0
)
if
(
err
<
0
)
{
{
// Accept Z_BUF_ERROR as EAGAIN or EWOULDBLOCK.
// Accept Z_BUF_ERROR as EAGAIN or EWOULDBLOCK.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment