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
e814dacc
Kaydet (Commit)
e814dacc
authored
Kas 19, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
readwrite_helper.c -> readwrite_helper.cxx
Change-Id: I6d9f43a18e13cb291cb678b6faeeed7c0ec9de1a
üst
df451d6a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
36 deletions
+10
-36
Library_jpipe.mk
jurt/Library_jpipe.mk
+1
-2
staticsalhack.cxx
jurt/source/pipe/staticsalhack.cxx
+6
-1
staticsalhack.h
jurt/source/pipe/staticsalhack.h
+0
-16
staticsalhack_c.c
jurt/source/pipe/staticsalhack_c.c
+0
-14
Library_sal.mk
sal/Library_sal.mk
+1
-1
readwrite_helper.cxx
sal/osl/unx/readwrite_helper.cxx
+2
-2
No files found.
jurt/Library_jpipe.mk
Dosyayı görüntüle @
e814dacc
...
@@ -48,11 +48,10 @@ else
...
@@ -48,11 +48,10 @@ else
$(eval $(call gb_Library_add_cobjects,jpipe, \
$(eval $(call gb_Library_add_cobjects,jpipe, \
jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection \
jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection \
jurt/source/pipe/staticsalhack_c \
))
))
$(eval $(call gb_Library_add_exception_objects,jpipe, \
$(eval $(call gb_Library_add_exception_objects,jpipe, \
jurt/source/pipe/staticsalhack
_cxx
\
jurt/source/pipe/staticsalhack \
))
))
$(eval $(call gb_Library_add_defs,jpipe, \
$(eval $(call gb_Library_add_defs,jpipe, \
...
...
jurt/source/pipe/staticsalhack
_cxx
.cxx
→
jurt/source/pipe/staticsalhack.cxx
Dosyayı görüntüle @
e814dacc
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
*/
#include <staticsalhack.h>
#define DISABLE_DYNLOADING
#define FORCE_SYSALLOC
#define NO_CHILD_PROCESSES
#undef SAL_LOG_INFO
#undef SAL_LOG_WARN
#include <sal/rtl/string.cxx>
#include <sal/rtl/string.cxx>
#undef IMPL_RTL_EMPTYSTRING
#undef IMPL_RTL_EMPTYSTRING
...
@@ -34,6 +38,7 @@
...
@@ -34,6 +38,7 @@
#include <sal/osl/unx/process.cxx>
#include <sal/osl/unx/process.cxx>
#include <sal/osl/unx/process_impl.cxx>
#include <sal/osl/unx/process_impl.cxx>
#include <sal/osl/unx/profile.cxx>
#include <sal/osl/unx/profile.cxx>
#include <sal/osl/unx/readwrite_helper.cxx>
#include <sal/osl/unx/security.cxx>
#include <sal/osl/unx/security.cxx>
#include <sal/osl/unx/thread.cxx>
#include <sal/osl/unx/thread.cxx>
#include <sal/osl/unx/uunxapi.cxx>
#include <sal/osl/unx/uunxapi.cxx>
...
...
jurt/source/pipe/staticsalhack.h
deleted
100644 → 0
Dosyayı görüntüle @
df451d6a
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#define DISABLE_DYNLOADING
#define FORCE_SYSALLOC
#define NO_CHILD_PROCESSES
#undef SAL_LOG_INFO
#undef SAL_LOG_WARN
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
jurt/source/pipe/staticsalhack_c.c
deleted
100644 → 0
Dosyayı görüntüle @
df451d6a
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <staticsalhack.h>
#include <sal/osl/unx/readwrite_helper.c>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/Library_sal.mk
Dosyayı görüntüle @
e814dacc
...
@@ -167,13 +167,13 @@ $(eval $(call gb_Library_add_exception_objects,sal,\
...
@@ -167,13 +167,13 @@ $(eval $(call gb_Library_add_exception_objects,sal,\
sal/osl/unx/process \
sal/osl/unx/process \
sal/osl/unx/process_impl \
sal/osl/unx/process_impl \
sal/osl/unx/profile \
sal/osl/unx/profile \
sal/osl/unx/readwrite_helper \
sal/osl/unx/security \
sal/osl/unx/security \
sal/osl/unx/tempfile \
sal/osl/unx/tempfile \
sal/osl/unx/thread \
sal/osl/unx/thread \
$(if $(filter DESKTOP,$(BUILD_TYPE)), sal/osl/unx/salinit) \
$(if $(filter DESKTOP,$(BUILD_TYPE)), sal/osl/unx/salinit) \
))
))
$(eval $(call gb_Library_add_cobjects,sal,\
$(eval $(call gb_Library_add_cobjects,sal,\
sal/osl/unx/readwrite_helper \
sal/osl/unx/socket \
sal/osl/unx/socket \
sal/osl/unx/system \
sal/osl/unx/system \
sal/osl/unx/time \
sal/osl/unx/time \
...
...
sal/osl/unx/readwrite_helper.c
→
sal/osl/unx/readwrite_helper.c
xx
Dosyayı görüntüle @
e814dacc
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
sal_Bool
safeWrite
(
int
fd
,
void
*
data
,
sal_uInt32
dataSize
)
sal_Bool
safeWrite
(
int
fd
,
void
*
data
,
sal_uInt32
dataSize
)
{
{
sal_Int32
nToWrite
=
dataSize
;
sal_Int32
nToWrite
=
dataSize
;
unsigned
char
*
dataToWrite
=
data
;
unsigned
char
*
dataToWrite
=
static_cast
<
unsigned
char
*>
(
data
)
;
// Check for overflow as we convert a signed to an unsigned.
// Check for overflow as we convert a signed to an unsigned.
OSL_ASSERT
(
dataSize
==
(
sal_uInt32
)
nToWrite
);
OSL_ASSERT
(
dataSize
==
(
sal_uInt32
)
nToWrite
);
...
@@ -40,7 +40,7 @@ sal_Bool safeWrite(int fd, void* data, sal_uInt32 dataSize)
...
@@ -40,7 +40,7 @@ sal_Bool safeWrite(int fd, void* data, sal_uInt32 dataSize)
sal_Bool
safeRead
(
int
fd
,
void
*
buffer
,
sal_uInt32
count
)
sal_Bool
safeRead
(
int
fd
,
void
*
buffer
,
sal_uInt32
count
)
{
{
sal_Int32
nToRead
=
count
;
sal_Int32
nToRead
=
count
;
unsigned
char
*
bufferForReading
=
buffer
;
unsigned
char
*
bufferForReading
=
static_cast
<
unsigned
char
*>
(
buffer
)
;
// Check for overflow as we convert a signed to an unsigned.
// Check for overflow as we convert a signed to an unsigned.
OSL_ASSERT
(
count
==
(
sal_uInt32
)
nToRead
);
OSL_ASSERT
(
count
==
(
sal_uInt32
)
nToRead
);
...
...
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