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
b9dea6ac
Kaydet (Commit)
b9dea6ac
authored
Nis 30, 2011
tarafından
Julien Chaffraix
Kaydeden (comit)
Michael Meeks
May 03, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Handled EINTR in safeWrite.
This makes us match safeRead's behavior. Spotted by Michael Meeks.
üst
521aebc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
readwrite_helper.c
sal/osl/unx/readwrite_helper.c
+6
-1
No files found.
sal/osl/unx/readwrite_helper.c
Dosyayı görüntüle @
b9dea6ac
...
...
@@ -39,9 +39,14 @@ sal_Bool safeWrite(int fd, void* data, sal_uInt32 dataSize)
OSL_ASSERT
(
dataSize
==
(
sal_uInt32
)
nToWrite
);
while
(
nToWrite
)
{
sal_Int32
nWritten
=
write
(
fd
,
data
,
nToWrite
);
if
(
nWritten
<
0
)
if
(
nWritten
<
0
)
{
if
(
errno
==
EINTR
)
continue
;
return
sal_False
;
}
OSL_ASSERT
(
nWritten
>
0
);
nToWrite
-=
nWritten
;
}
...
...
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