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
b686bab2
Kaydet (Commit)
b686bab2
authored
May 24, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: return value of fwrite unchecked
Change-Id: I83ecc3ef45eb411741db4b4ff20982bff1709d99
üst
d7850592
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
npnapi.cxx
extensions/source/plugin/unx/npnapi.cxx
+2
-1
npwrap.cxx
extensions/source/plugin/unx/npwrap.cxx
+4
-2
No files found.
extensions/source/plugin/unx/npnapi.cxx
Dosyayı görüntüle @
b686bab2
...
...
@@ -871,7 +871,8 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ )
break
;
case
eNPP_Shutdown
:
{
write
(
wakeup_fd
[
1
],
"xxxx"
,
4
);
bool
bSuccess
=
(
4
==
write
(
wakeup_fd
[
1
],
"xxxx"
,
4
));
SAL_WARN_IF
(
!
bSuccess
,
"extensions"
,
"short write"
);
}
break
;
default
:
...
...
extensions/source/plugin/unx/npwrap.cxx
Dosyayı görüntüle @
b686bab2
...
...
@@ -65,7 +65,8 @@ static long GlobalConnectionLostHdl( void* /*pInst*/, void* /*pArg*/ )
{
medDebug
(
1
,
"pluginapp exiting due to connection lost
\n
"
);
write
(
wakeup_fd
[
1
],
"xxxx"
,
4
);
bool
bSuccess
=
(
4
==
write
(
wakeup_fd
[
1
],
"xxxx"
,
4
));
SAL_WARN_IF
(
!
bSuccess
,
"extensions"
,
"short write"
);
return
0
;
}
...
...
@@ -111,7 +112,8 @@ extern "C"
IMPL_LINK
(
PluginConnector
,
NewMessageHdl
,
Mediator
*
,
/*pMediator*/
)
{
medDebug
(
1
,
"new message handler
\n
"
);
write
(
wakeup_fd
[
1
],
"cccc"
,
4
);
bool
bSuccess
=
(
4
==
write
(
wakeup_fd
[
1
],
"cccc"
,
4
));
SAL_WARN_IF
(
!
bSuccess
,
"extensions"
,
"short write"
);
return
0
;
}
...
...
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