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
335cd830
Kaydet (Commit)
335cd830
authored
Nis 03, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Kill superfluous vertical whitespace
Change-Id: I8c37b9ec45836f9c0e2dc0cf232f96f23c7c36d3
üst
c04f4393
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
138 changed files
with
0 additions
and
604 deletions
+0
-604
lo-bootstrap.c
sal/android/lo-bootstrap.c
+0
-2
uthash.h
sal/android/uthash.h
+0
-3
operators_new_delete.cxx
sal/cpprt/operators_new_delete.cxx
+0
-30
debugbase.cxx
sal/osl/all/debugbase.cxx
+0
-1
filepath.c
sal/osl/all/filepath.c
+0
-2
loadmodulerelative.cxx
sal/osl/all/loadmodulerelative.cxx
+0
-1
utility.cxx
sal/osl/all/utility.cxx
+0
-2
backtrace.c
sal/osl/unx/backtrace.c
+0
-4
backtrace.h
sal/osl/unx/backtrace.h
+0
-2
conditn.cxx
sal/osl/unx/conditn.cxx
+0
-3
file_error_transl.cxx
sal/osl/unx/file_error_transl.cxx
+0
-1
file_error_transl.h
sal/osl/unx/file_error_transl.h
+0
-1
file_misc.cxx
sal/osl/unx/file_misc.cxx
+0
-1
file_path_helper.hxx
sal/osl/unx/file_path_helper.hxx
+0
-5
file_stat.cxx
sal/osl/unx/file_stat.cxx
+0
-1
file_url.cxx
sal/osl/unx/file_url.cxx
+0
-1
file_volume.cxx
sal/osl/unx/file_volume.cxx
+0
-2
interlck.c
sal/osl/unx/interlck.c
+0
-1
module.cxx
sal/osl/unx/module.cxx
+0
-2
mutex.c
sal/osl/unx/mutex.c
+0
-2
nlsupport.c
sal/osl/unx/nlsupport.c
+0
-2
osxlocale.cxx
sal/osl/unx/osxlocale.cxx
+0
-1
pipe.c
sal/osl/unx/pipe.c
+0
-10
process.cxx
sal/osl/unx/process.cxx
+0
-11
process_impl.cxx
sal/osl/unx/process_impl.cxx
+0
-2
profile.cxx
sal/osl/unx/profile.cxx
+0
-24
security.cxx
sal/osl/unx/security.cxx
+0
-9
signal.c
sal/osl/unx/signal.c
+0
-3
socket.c
sal/osl/unx/socket.c
+0
-25
system.c
sal/osl/unx/system.c
+0
-1
time.c
sal/osl/unx/time.c
+0
-5
dllentry.c
sal/osl/w32/dllentry.c
+0
-3
file.cxx
sal/osl/w32/file.cxx
+0
-26
file_dirvol.cxx
sal/osl/w32/file_dirvol.cxx
+0
-0
file_url.cxx
sal/osl/w32/file_url.cxx
+0
-22
module.cxx
sal/osl/w32/module.cxx
+0
-6
nlsupport.c
sal/osl/w32/nlsupport.c
+0
-4
path_helper.cxx
sal/osl/w32/path_helper.cxx
+0
-2
pipe.c
sal/osl/w32/pipe.c
+0
-4
process.cxx
sal/osl/w32/process.cxx
+0
-3
procimpl.cxx
sal/osl/w32/procimpl.cxx
+0
-19
profile.cxx
sal/osl/w32/profile.cxx
+0
-0
salinit.cxx
sal/osl/w32/salinit.cxx
+0
-2
security.c
sal/osl/w32/security.c
+0
-16
signal.cxx
sal/osl/w32/signal.cxx
+0
-2
socket.cxx
sal/osl/w32/socket.cxx
+0
-3
sockimpl.h
sal/osl/w32/sockimpl.h
+0
-1
tempfile.cxx
sal/osl/w32/tempfile.cxx
+0
-9
thread.c
sal/osl/w32/thread.c
+0
-8
time.c
sal/osl/w32/time.c
+0
-11
rtl_OStringBuffer.cxx
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+0
-27
rtl_String_Const.h
sal/qa/OStringBuffer/rtl_String_Const.h
+0
-10
rtl_String_Utils.cxx
sal/qa/OStringBuffer/rtl_String_Utils.cxx
+0
-2
rtl_String_Utils.hxx
sal/qa/OStringBuffer/rtl_String_Utils.hxx
+0
-10
rtl_String_Utils_Const.h
sal/qa/OStringBuffer/rtl_String_Utils_Const.h
+0
-2
osl_Condition.cxx
sal/qa/osl/condition/osl_Condition.cxx
+0
-21
osl_Condition_Const.h
sal/qa/osl/condition/osl_Condition_Const.h
+0
-2
osl_File.cxx
sal/qa/osl/file/osl_File.cxx
+0
-0
osl_File_Const.h
sal/qa/osl/file/osl_File_Const.h
+0
-16
osl_old_test_file.cxx
sal/qa/osl/file/osl_old_test_file.cxx
+0
-4
test_cpy_wrt_file.cxx
sal/qa/osl/file/test_cpy_wrt_file.cxx
+0
-1
osl_Module.cxx
sal/qa/osl/module/osl_Module.cxx
+0
-17
osl_Module_Const.h
sal/qa/osl/module/osl_Module_Const.h
+0
-2
osl_Mutex.cxx
sal/qa/osl/mutex/osl_Mutex.cxx
+0
-31
osl_Mutex_Const.h
sal/qa/osl/mutex/osl_Mutex_Const.h
+0
-1
osl_Pipe.cxx
sal/qa/osl/pipe/osl_Pipe.cxx
+0
-27
osl_Thread.cxx
sal/qa/osl/process/osl_Thread.cxx
+0
-17
osl_process.cxx
sal/qa/osl/process/osl_process.cxx
+0
-17
osl_process_child.cxx
sal/qa/osl/process/osl_process_child.cxx
+0
-11
osl_old_testprofile.cxx
sal/qa/osl/profile/osl_old_testprofile.cxx
+0
-2
osl_Security.cxx
sal/qa/osl/security/osl_Security.cxx
+0
-23
osl_AcceptorSocket.cxx
sal/qa/osl/socket/osl_AcceptorSocket.cxx
+0
-12
osl_ConnectorSocket.cxx
sal/qa/osl/socket/osl_ConnectorSocket.cxx
+0
-11
osl_DatagramSocket.cxx
sal/qa/osl/socket/osl_DatagramSocket.cxx
+0
-9
osl_Socket.cxx
sal/qa/osl/socket/osl_Socket.cxx
+0
-0
osl_Socket2.cxx
sal/qa/osl/socket/osl_Socket2.cxx
+0
-0
osl_SocketAddr.cxx
sal/qa/osl/socket/osl_SocketAddr.cxx
+0
-0
osl_Socket_Const.h
sal/qa/osl/socket/osl_Socket_Const.h
+0
-7
osl_Socket_Const_orig.h
sal/qa/osl/socket/osl_Socket_Const_orig.h
+0
-10
osl_Socket_tests.cxx
sal/qa/osl/socket/osl_Socket_tests.cxx
+0
-7
osl_StreamSocket.cxx
sal/qa/osl/socket/osl_StreamSocket.cxx
+0
-0
sockethelper.cxx
sal/qa/osl/socket/sockethelper.cxx
+0
-3
sockethelper.hxx
sal/qa/osl/socket/sockethelper.hxx
+0
-1
rtl_alloc.cxx
sal/qa/rtl/alloc/rtl_alloc.cxx
+0
-0
rtl_Bootstrap.cxx
sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+0
-0
rtl_cipher.cxx
sal/qa/rtl/cipher/rtl_cipher.cxx
+0
-0
rtl_crc32.cxx
sal/qa/rtl/crc32/rtl_crc32.cxx
+0
-0
rtl_digest.cxx
sal/qa/rtl/digest/rtl_digest.cxx
+0
-0
rtl_doublelocking.cxx
sal/qa/rtl/doublelock/rtl_doublelocking.cxx
+0
-0
rtl_locale.cxx
sal/qa/rtl/locale/rtl_locale.cxx
+0
-0
rtl_logfile.cxx
sal/qa/rtl/logfile/rtl_logfile.cxx
+0
-0
rtl_OString2.cxx
sal/qa/rtl/ostring/rtl_OString2.cxx
+0
-0
rtl_str.cxx
sal/qa/rtl/ostring/rtl_str.cxx
+0
-0
rtl_string.cxx
sal/qa/rtl/ostring/rtl_string.cxx
+0
-0
rtl_OUString2.cxx
sal/qa/rtl/oustring/rtl_OUString2.cxx
+0
-0
rtl_ustr.cxx
sal/qa/rtl/oustring/rtl_ustr.cxx
+0
-0
child_process.cxx
sal/qa/rtl/process/child_process.cxx
+0
-0
child_process_id.cxx
sal/qa/rtl/process/child_process_id.cxx
+0
-0
rtl_Process.cxx
sal/qa/rtl/process/rtl_Process.cxx
+0
-0
rtl_Process_Const.h
sal/qa/rtl/process/rtl_Process_Const.h
+0
-0
rtl_random.cxx
sal/qa/rtl/random/rtl_random.cxx
+0
-0
rtl_tencinfo.cxx
sal/qa/rtl/textenc/rtl_tencinfo.cxx
+0
-0
rtl_textcvt.cxx
sal/qa/rtl/textenc/rtl_textcvt.cxx
+0
-0
rtl_Uri.cxx
sal/qa/rtl/uri/rtl_Uri.cxx
+0
-0
rtl_testuri.cxx
sal/qa/rtl/uri/rtl_testuri.cxx
+0
-0
rtl_Uuid.cxx
sal/qa/rtl/uuid/rtl_Uuid.cxx
+0
-0
test_comtools.cxx
sal/qa/systools/test_comtools.cxx
+0
-0
alloc_arena.cxx
sal/rtl/alloc_arena.cxx
+0
-0
alloc_arena.hxx
sal/rtl/alloc_arena.hxx
+0
-0
alloc_cache.cxx
sal/rtl/alloc_cache.cxx
+0
-0
alloc_cache.hxx
sal/rtl/alloc_cache.hxx
+0
-0
alloc_impl.hxx
sal/rtl/alloc_impl.hxx
+0
-0
bootstrap.cxx
sal/rtl/bootstrap.cxx
+0
-0
byteseq.cxx
sal/rtl/byteseq.cxx
+0
-0
cmdargs.cxx
sal/rtl/cmdargs.cxx
+0
-0
hash.cxx
sal/rtl/hash.cxx
+0
-0
math.cxx
sal/rtl/math.cxx
+0
-0
uuid.cxx
sal/rtl/uuid.cxx
+0
-0
test_salmain.cxx
sal/test/test_salmain.cxx
+0
-0
test_salmainwithargs.cxx
sal/test/test_salmainwithargs.cxx
+0
-0
testbootstrap.cxx
sal/test/testbootstrap.cxx
+0
-0
StdAfx.h
sal/workben/clipboardwben/testcopy/StdAfx.h
+0
-0
XTDataObject.cxx
sal/workben/clipboardwben/testcopy/XTDataObject.cxx
+0
-0
XTDataObject.hxx
sal/workben/clipboardwben/testcopy/XTDataObject.hxx
+0
-0
cbcpytest.cxx
sal/workben/clipboardwben/testcopy/cbcpytest.cxx
+0
-0
StdAfx.h
sal/workben/clipboardwben/testpaste/StdAfx.h
+0
-0
cbptest.cxx
sal/workben/clipboardwben/testpaste/cbptest.cxx
+0
-0
StdAfx.h
sal/workben/clipboardwben/testviewer/StdAfx.h
+0
-0
cbvtest.cxx
sal/workben/clipboardwben/testviewer/cbvtest.cxx
+0
-0
getlocaleinfotest.cxx
sal/workben/getlocaleinfotest.cxx
+0
-0
t_cipher.c
sal/workben/t_cipher.c
+0
-0
t_digest.c
sal/workben/t_digest.c
+0
-0
t_ojp_exe.cxx
sal/workben/t_ojp_exe.cxx
+0
-0
test.cxx
sal/workben/test.cxx
+0
-0
testfile.cxx
sal/workben/testfile.cxx
+0
-0
testpip2.cxx
sal/workben/testpip2.cxx
+0
-0
testpipe.cxx
sal/workben/testpipe.cxx
+0
-0
testproc.cxx
sal/workben/testproc.cxx
+0
-0
No files found.
sal/android/lo-bootstrap.c
Dosyayı görüntüle @
335cd830
...
...
@@ -348,7 +348,6 @@ get_jni_string_array(JNIEnv *env,
return
JNI_TRUE
;
}
// public static native int getpid();
__attribute__
((
visibility
(
"default"
)))
...
...
@@ -362,7 +361,6 @@ Java_org_libreoffice_android_Bootstrap_getpid(JNIEnv* env,
return
getpid
();
}
// public static native void system(String cmdline);
__attribute__
((
visibility
(
"default"
)))
...
...
sal/android/uthash.h
Dosyayı görüntüle @
335cd830
...
...
@@ -225,7 +225,6 @@ do {
HASH_FSCK(hh,head); \
} while (0)
/* convenience forms of HASH_FIND/HASH_ADD/HASH_DEL */
#define HASH_FIND_STR(head,findstr,out) \
HASH_FIND(hh,head,findstr,strlen(findstr),out)
...
...
@@ -333,7 +332,6 @@ do {
bkt = (hashv) & (num_bkts-1); \
} while (0)
/* SAX/FNV/OAT/JEN hash functions are macro variants of those listed at
* http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx */
#define HASH_SAX(key,keylen,num_bkts,hashv,bkt) \
...
...
@@ -751,7 +749,6 @@ do {
uthash_expand_fyi(tbl); \
} while(0)
/* This is an adaptation of Simon Tatham's O(n log(n)) mergesort */
/* Note that HASH_SORT assumes the hash handle name to be hh.
* HASH_SRT was added to allow the hash handle name to be passed in. */
...
...
sal/cpprt/operators_new_delete.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -23,10 +23,8 @@
#include <osl/diagnose.h>
#include <rtl/alloc.h>
// AllocatorTraits
namespace
{
...
...
@@ -70,8 +68,6 @@ struct AllocatorTraits
}
};
struct
VectorTraits
:
public
AllocatorTraits
{
static
const
signature_type
g_signature
;
...
...
@@ -95,18 +91,14 @@ const AllocatorTraits::signature_type ScalarTraits::g_signature = "new() ";
}
// anonymous namespace
// Allocator
static
void
default_handler
(
void
)
{
// Multithreading race in 'std::set_new_handler()' call sequence below.
throw
std
::
bad_alloc
();
}
static
void
*
allocate
(
std
::
size_t
n
,
AllocatorTraits
const
&
rTraits
)
SAL_THROW
((
std
::
bad_alloc
))
...
...
@@ -128,8 +120,6 @@ static void* allocate (
}
}
static
void
*
allocate_nothrow
(
std
::
size_t
n
,
AllocatorTraits
const
&
rTraits
)
SAL_THROW
(())
...
...
@@ -144,8 +134,6 @@ static void* allocate_nothrow (
}
}
static
void
deallocate
(
void
*
p
,
AllocatorTraits
const
&
rTraits
)
SAL_THROW
(())
{
...
...
@@ -155,70 +143,52 @@ static void deallocate (void * p, AllocatorTraits const & rTraits)
}
}
// T * p = new T; delete p;
void
*
SAL_CALL
operator
new
(
std
::
size_t
n
)
throw
(
std
::
bad_alloc
)
{
return
allocate
(
n
,
ScalarTraits
());
}
void
SAL_CALL
operator
delete
(
void
*
p
)
throw
()
{
deallocate
(
p
,
ScalarTraits
());
}
// T * p = new(nothrow) T; delete(nothrow) p;
void
*
SAL_CALL
operator
new
(
std
::
size_t
n
,
std
::
nothrow_t
const
&
)
throw
()
{
return
allocate_nothrow
(
n
,
ScalarTraits
());
}
void
SAL_CALL
operator
delete
(
void
*
p
,
std
::
nothrow_t
const
&
)
throw
()
{
deallocate
(
p
,
ScalarTraits
());
}
// T * p = new T[n]; delete[] p;
void
*
SAL_CALL
operator
new
[]
(
std
::
size_t
n
)
throw
(
std
::
bad_alloc
)
{
return
allocate
(
n
,
VectorTraits
());
}
void
SAL_CALL
operator
delete
[]
(
void
*
p
)
throw
()
{
deallocate
(
p
,
VectorTraits
());
}
// T * p = new(nothrow) T[n]; delete(nothrow)[] p;
void
*
SAL_CALL
operator
new
[]
(
std
::
size_t
n
,
std
::
nothrow_t
const
&
)
throw
()
{
return
allocate_nothrow
(
n
,
VectorTraits
());
}
void
SAL_CALL
operator
delete
[]
(
void
*
p
,
std
::
nothrow_t
const
&
)
throw
()
{
deallocate
(
p
,
VectorTraits
());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/osl/all/debugbase.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "rtl/strbuf.hxx"
#include "rtl/string.hxx"
#include "rtl/ustring.hxx"
...
...
sal/osl/all/filepath.c
Dosyayı görüntüle @
335cd830
...
...
@@ -25,7 +25,6 @@ static sal_uInt32 SAL_CALL osl_defCalcTextWidth( rtl_uString *ustrText )
return
ustrText
?
ustrText
->
length
:
0
;
}
oslFileError
SAL_CALL
osl_abbreviateSystemPath
(
rtl_uString
*
ustrSystemPath
,
rtl_uString
**
pustrCompacted
,
sal_uInt32
uMaxWidth
,
oslCalcTextWidthFunc
pfnCalcWidth
)
{
oslFileError
error
=
osl_File_E_None
;
...
...
@@ -112,5 +111,4 @@ oslFileError SAL_CALL osl_abbreviateSystemPath( rtl_uString *ustrSystemPath, rtl
return
error
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/osl/all/loadmodulerelative.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "sal/config.h"
#include <cstddef>
...
...
sal/osl/all/utility.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -19,7 +19,6 @@
#include "osl/time.h"
/*
* mfe : maybe it would be wishful to include initialization
* of the global timer in dllmain or _init directly.
...
...
@@ -42,7 +41,6 @@ public:
return
osl_getGlobalTimer
();
}
};
static
OGlobalTimer
aGlobalTimer
;
...
...
sal/osl/unx/backtrace.c
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifdef SOLARIS
#include <dlfcn.h>
...
...
@@ -55,7 +54,6 @@
#endif
/* defined SPARC or INTEL */
int
backtrace
(
void
**
buffer
,
int
max_frames
)
{
jmp_buf
ctx
;
...
...
@@ -130,7 +128,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
#endif
/* defined SOLARIS */
#if defined FREEBSD || defined NETBSD || defined OPENBSD || defined(DRAGONFLY)
#include <dlfcn.h>
#include <pthread.h>
...
...
@@ -233,7 +230,6 @@ int backtrace( void **buffer, int max_frames )
return
i
;
}
void
backtrace_symbols_fd
(
void
**
buffer
,
int
size
,
int
fd
)
{
FILE
*
fp
=
fdopen
(
fd
,
"w"
);
...
...
sal/osl/unx/backtrace.h
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#if defined (SOLARIS) || defined (FREEBSD) || defined (NETBSD) || \
defined (OPENBSD) || defined (DRAGONFLY) || defined (MACOSX)
...
...
@@ -42,7 +41,6 @@ struct frame {
};
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
...
...
sal/osl/unx/conditn.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -28,7 +28,6 @@
#include <osl/conditn.h>
#include <osl/time.h>
typedef
struct
_oslConditionImpl
{
pthread_cond_t
m_Condition
;
...
...
@@ -36,7 +35,6 @@ typedef struct _oslConditionImpl
bool
m_State
;
}
oslConditionImpl
;
oslCondition
SAL_CALL
osl_createCondition
()
{
oslConditionImpl
*
pCond
;
...
...
@@ -331,5 +329,4 @@ sal_Bool SAL_CALL osl_checkCondition(oslCondition Condition)
return
State
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/osl/unx/file_error_transl.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -227,5 +227,4 @@ oslFileError oslTranslateFileError(sal_Bool bIsError, int Errno)
return
osl_error
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/osl/unx/file_error_transl.h
Dosyayı görüntüle @
335cd830
...
...
@@ -54,7 +54,6 @@ extern "C"
oslFileError
oslTranslateFileError
(
sal_Bool
bIsError
,
int
Errno
);
#ifdef __cplusplus
}
#endif
...
...
sal/osl/unx/file_misc.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -306,7 +306,6 @@ oslFileError SAL_CALL osl_getNextDirectoryItem(oslDirectory Directory, oslDirect
if
(
NULL
==
pEntry
)
return
osl_File_E_NOENT
;
#if defined(MACOSX)
// convert decomposed filename to precomposed unicode
...
...
sal/osl/unx/file_path_helper.hxx
Dosyayı görüntüle @
335cd830
...
...
@@ -20,12 +20,10 @@
#ifndef _OSL_FILE_PATH_HELPER_HXX_
#define _OSL_FILE_PATH_HELPER_HXX_
#include "file_path_helper.h"
#include <rtl/ustring.hxx>
namespace
osl
{
...
...
@@ -173,11 +171,8 @@ namespace osl
&
ustrPathFound
.
pData
);
}
}
// namespace osl
#endif
/* #ifndef _OSL_PATH_HELPER_HXX_ */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/osl/unx/file_stat.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -109,7 +109,6 @@ namespace
pStat
->
uAttributes
|=
osl_File_Attribute_Executable
;
}
inline
void
set_file_hidden_status
(
const
rtl
::
OUString
&
file_path
,
oslFileStatus
*
pStat
)
{
pStat
->
uAttributes
=
osl
::
systemPathIsHiddenFileOrDirectoryEntry
(
file_path
)
?
osl_File_Attribute_Hidden
:
0
;
...
...
sal/osl/unx/file_url.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -251,7 +251,6 @@ oslFileError SAL_CALL osl_getFileURLFromSystemPath( rtl_uString *ustrSystemPath,
return
osl_File_E_INVAL
;
}
/* check if system path starts with ~ or ~user and replace it with the appropriate home dir */
if
(
'~'
==
ustrSystemPath
->
buffer
[
0
]
)
{
...
...
sal/osl/unx/file_volume.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -44,7 +44,6 @@
#define FREEBSD 1
#endif
#if defined(SOLARIS)
#include <sys/mnttab.h>
...
...
@@ -220,7 +219,6 @@ oslFileError osl_getVolumeInformation( rtl_uString* ustrDirectoryURL, oslVolumeI
# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (true)
#endif
/* HAVE_STATFS_H */
static
oslFileError
osl_psz_getVolumeInformation
(
const
sal_Char
*
pszDirectory
,
oslVolumeInfo
*
pInfo
,
sal_uInt32
uFieldMask
)
{
...
...
sal/osl/unx/interlck.c
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "system.h"
#include <osl/interlck.h>
...
...
sal/osl/unx/module.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -106,7 +106,6 @@ static bool getModulePathFromAddress(void * address, rtl_String ** path) {
return
result
;
}
#ifndef DISABLE_DYNLOADING
/*****************************************************************************/
...
...
@@ -244,7 +243,6 @@ osl_getSymbol(oslModule Module, rtl_uString* pSymbolName)
return
(
void
*
)
osl_getFunctionSymbol
(
Module
,
pSymbolName
);
}
/*****************************************************************************/
/* osl_getAsciiFunctionSymbol */
/*****************************************************************************/
...
...
sal/osl/unx/mutex.c
Dosyayı görüntüle @
335cd830
...
...
@@ -36,7 +36,6 @@ typedef struct _oslMutexImpl
pthread_mutex_t
mutex
;
}
oslMutexImpl
;
/*****************************************************************************/
/* osl_createMutex */
/*****************************************************************************/
...
...
@@ -155,7 +154,6 @@ sal_Bool SAL_CALL osl_releaseMutex(oslMutexImpl *pMutex)
return
sal_False
;
}
static
oslMutexImpl
globalMutexImpl
;
static
void
globalMutexInitImpl
(
void
)
{
...
...
sal/osl/unx/nlsupport.c
Dosyayı görüntüle @
335cd830
...
...
@@ -41,7 +41,6 @@ typedef struct {
const
rtl_TextEncoding
value
;
}
_pair
;
/*****************************************************************************
compare function for binary search
*****************************************************************************/
...
...
@@ -85,7 +84,6 @@ _pair_search (const char *key, const _pair *base, unsigned int member )
return
NULL
;
}
/*****************************************************************************
convert rtl_Locale to locale string
*****************************************************************************/
...
...
sal/osl/unx/osxlocale.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/types.h>
#include <assert.h>
...
...
sal/osl/unx/pipe.c
Dosyayı görüntüle @
335cd830
...
...
@@ -38,7 +38,6 @@
sal_Bool
SAL_CALL
osl_psz_getUserIdent
(
oslSecurity
Security
,
sal_Char
*
pszIdent
,
sal_uInt32
nMax
);
oslPipe
SAL_CALL
osl_psz_createPipe
(
const
sal_Char
*
pszPipeName
,
oslPipeOptions
Options
,
oslSecurity
Security
);
static
struct
{
int
errcode
;
...
...
@@ -62,7 +61,6 @@ static struct
{
-
1
,
osl_Pipe_E_invalidError
}
};
/* map */
/* mfe: NOT USED
static int osl_NativeFromPipeError(oslPipeError errorCode)
...
...
@@ -88,11 +86,9 @@ static oslPipeError osl_PipeErrorFromNative(int nativeType)
return
PipeError
[
i
].
error
;
}
/* macros */
#define ERROR_FROM_NATIVE(y) osl_PipeErrorFromNative(y)
oslPipe
__osl_createPipeImpl
()
{
oslPipe
pPipeImpl
;
...
...
@@ -115,7 +111,6 @@ void __osl_destroyPipeImpl(oslPipe pImpl)
free
(
pImpl
);
}
oslPipe
SAL_CALL
osl_createPipe
(
rtl_uString
*
ustrPipeName
,
oslPipeOptions
Options
,
oslSecurity
Security
)
{
oslPipe
pPipe
=
0
;
...
...
@@ -307,7 +302,6 @@ oslPipe SAL_CALL osl_psz_createPipe(const sal_Char *pszPipeName, oslPipeOptions
if
(
!
Security
)
chmod
(
name
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
strncpy
(
pPipe
->
m_Name
,
name
,
sizeof
(
pPipe
->
m_Name
)
-
1
);
if
(
listen
(
pPipe
->
m_Socket
,
5
)
<
0
)
...
...
@@ -413,7 +407,6 @@ void SAL_CALL osl_closePipe( oslPipe pPipe )
}
#endif
/* LINUX */
nRet
=
shutdown
(
ConnFD
,
2
);
if
(
nRet
<
0
)
{
...
...
@@ -435,7 +428,6 @@ void SAL_CALL osl_closePipe( oslPipe pPipe )
/* OSL_TRACE("Out osl_destroyPipe"); */
}
oslPipe
SAL_CALL
osl_acceptPipe
(
oslPipe
pPipe
)
{
int
s
,
flags
;
...
...
@@ -547,7 +539,6 @@ sal_Int32 SAL_CALL osl_sendPipe(oslPipe pPipe,
(
sal_Char
*
)
pBuffer
,
BytesToSend
,
0
);
if
(
nRet
<=
0
)
{
OSL_TRACE
(
"osl_sendPipe failed : %i '%s'"
,
nRet
,
strerror
(
errno
));
...
...
@@ -562,7 +553,6 @@ oslPipeError SAL_CALL osl_getLastPipeError(oslPipe pPipe)
return
ERROR_FROM_NATIVE
(
errno
);
}
sal_Int32
SAL_CALL
osl_writePipe
(
oslPipe
pPipe
,
const
void
*
pBuffer
,
sal_Int32
n
)
{
/* loop until all desired bytes were send or an error occurred */
...
...
sal/osl/unx/process.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -36,7 +36,6 @@
# endif
#endif
#if defined(FREEBSD) || defined(NETBSD) || defined(DRAGONFLY)
#include <machine/param.h>
#endif
...
...
@@ -167,7 +166,6 @@ oslProcessError SAL_CALL osl_psz_executeProcess(sal_Char *pszImageName,
*
*****************************************************************************/
sal_Bool
osl_sendResourcePipe
(
oslPipe
/*pPipe*/
,
oslSocket
/*pSocket*/
)
{
return
osl_Process_E_InvalidError
;
...
...
@@ -179,8 +177,6 @@ oslSocket osl_receiveResourcePipe(oslPipe /*pPipe*/)
return
pSocket
;
}
/******************************************************************************
*
* Functions for starting a process
...
...
@@ -389,7 +385,6 @@ static void ChildStatusProc(void *pData)
child_pid
=
pid
;
}
if
(
child_pid
>
0
)
{
oslProcessImpl
*
pChild
;
...
...
@@ -499,12 +494,10 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO(
pArguments
=
(
sal_Char
**
)
malloc
(
(
nArguments
+
2
)
*
sizeof
(
sal_Char
*
)
);
}
for
(
idx
=
0
;
idx
<
nArguments
;
++
idx
)
{
rtl_String
*
strArg
=
0
;
rtl_uString2String
(
&
strArg
,
rtl_uString_getStr
(
ustrArguments
[
idx
]),
rtl_uString_getLength
(
ustrArguments
[
idx
]),
...
...
@@ -536,7 +529,6 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO(
pEnvironment
[
idx
+
1
]
=
0
;
}
Error
=
osl_psz_executeProcess
(
szImagePath
,
pArguments
,
Options
,
...
...
@@ -728,7 +720,6 @@ oslProcessError SAL_CALL osl_psz_executeProcess(sal_Char *pszImageName,
*
*****************************************************************************/
oslProcessError
SAL_CALL
osl_terminateProcess
(
oslProcess
Process
)
{
if
(
Process
==
NULL
)
...
...
@@ -981,7 +972,6 @@ bool osl_getProcStatus(pid_t pid, struct osl_procStat* procstat)
);
}
tmp
=
strstr
(
prstatusbuf
,
"Gid:"
);
if
(
tmp
)
{
...
...
@@ -1150,7 +1140,6 @@ oslProcessError SAL_CALL osl_getProcessInfo(oslProcess Process, oslProcessData F
return
(
pInfo
->
Fields
==
Fields
)
?
osl_Process_E_None
:
osl_Process_E_Unknown
;
}
/***********************************************
helper function for osl_joinProcessWithTimeout
**********************************************/
...
...
sal/osl/unx/process_impl.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -52,7 +52,6 @@ extern "C" oslProcessError SAL_CALL osl_bootstrap_getExecutableFile_Impl (
rtl_uString
**
ppFileURL
)
SAL_THROW_EXTERN_C
();
#if defined(MACOSX) || defined(IOS)
#include <mach-o/dyld.h>
...
...
@@ -412,7 +411,6 @@ oslProcessError SAL_CALL osl_clearEnvironment(rtl_uString* pustrEnvVar)
return
(
result
);
}
/***************************************
osl_getProcessWorkingDir().
**************************************/
...
...
sal/osl/unx/profile.cxx
Dosyayı görüntüle @
335cd830
...
...
@@ -84,7 +84,6 @@ typedef struct _osl_TProfileSection
osl_TProfileEntry
*
m_Entries
;
}
osl_TProfileSection
;
/* Profile-data structure hidden behind oslProfile: */
typedef
struct
_osl_TProfileImpl
{
...
...
@@ -184,7 +183,6 @@ static oslProfile SAL_CALL osl_psz_openProfile(const sal_Char *pszProfileName, o
}
#endif
if
(
(
pFile
=
openFileImpl
(
pszProfileName
,
Flags
)
)
==
NULL
)
{
#ifdef TRACE_OSL_PROFILE
...
...
@@ -193,7 +191,6 @@ static oslProfile SAL_CALL osl_psz_openProfile(const sal_Char *pszProfileName, o
return
(
NULL
);
}
pProfile
=
(
osl_TProfileImpl
*
)
calloc
(
1
,
sizeof
(
osl_TProfileImpl
));
if
(
pProfile
==
0
)
...
...
@@ -273,7 +270,6 @@ sal_Bool SAL_CALL osl_closeProfile(oslProfile Profile)
pTmpProfile
=
acquireProfile
(
Profile
,
sal_False
);
}
if
(
pTmpProfile
==
0
)
{
pthread_mutex_unlock
(
&
(
pProfile
->
m_AccessLock
));
...
...
@@ -336,7 +332,6 @@ sal_Bool SAL_CALL osl_closeProfile(oslProfile Profile)
return
(
sal_True
);
}
sal_Bool
SAL_CALL
osl_flushProfile
(
oslProfile
Profile
)
{
osl_TProfileImpl
*
pProfile
=
(
osl_TProfileImpl
*
)
Profile
;
...
...
@@ -432,7 +427,6 @@ static sal_Bool writeProfileImpl(osl_TFile* pFile)
return
sal_True
;
}
sal_Bool
SAL_CALL
osl_readProfileString
(
oslProfile
Profile
,
const
sal_Char
*
pszSection
,
const
sal_Char
*
pszEntry
,
...
...
@@ -509,7 +503,6 @@ sal_Bool SAL_CALL osl_readProfileString(oslProfile Profile,
else
{
/* not implemented */
}
bRet
=
releaseProfile
(
pProfile
);
OSL_ASSERT
(
bRet
);
(
void
)
bRet
;
...
...
@@ -830,7 +823,6 @@ sal_Bool SAL_CALL osl_removeProfileEntry(oslProfile Profile,
return
sal_False
;
}
pProfile
=
acquireProfile
(
Profile
,
sal_True
);
if
(
pProfile
==
NULL
)
...
...
@@ -842,7 +834,6 @@ sal_Bool SAL_CALL osl_removeProfileEntry(oslProfile Profile,
return
(
sal_False
);
}
if
(
!
(
pProfile
->
m_Flags
&
osl_Profile_SYSTEM
))
{
if
(((
pSec
=
findEntry
(
pProfile
,
pszSection
,
pszEntry
,
&
NoEntry
))
!=
NULL
)
&&
...
...
@@ -867,7 +858,6 @@ sal_Bool SAL_CALL osl_removeProfileEntry(oslProfile Profile,
else
{
/* not implemented */
}
bRet
=
releaseProfile
(
pProfile
);
OSL_ASSERT
(
bRet
);
...
...
@@ -934,7 +924,6 @@ sal_uInt32 SAL_CALL osl_getProfileSectionEntries(oslProfile Profile,
return
(
0
);
}
if
(
!
(
pProfile
->
m_Flags
&
osl_Profile_SYSTEM
))
{
if
((
pSec
=
findEntry
(
pProfile
,
pszSection
,
""
,
&
NoEntry
))
!=
NULL
)
...
...
@@ -1065,7 +1054,6 @@ sal_uInt32 SAL_CALL osl_getProfileSections(oslProfile Profile,
else
{
/* not implemented */
}
bRet
=
releaseProfile
(
pProfile
);
OSL_ASSERT
(
bRet
);
(
void
)
bRet
;
...
...
@@ -1088,7 +1076,6 @@ static osl_TStamp OslProfile_getFileStamp(osl_TFile* pFile)
return
(
0
);
}
return
(
status
.
st_mtime
);
}
...
...
@@ -1129,7 +1116,6 @@ static sal_Bool OslProfile_lockFile(const osl_TFile* pFile, osl_TLockMode eMode)
return
(
sal_False
);
}
if
(
bLockingDisabled
)
{
#ifdef TRACE_OSL_PROFILE
...
...
@@ -1138,7 +1124,6 @@ static sal_Bool OslProfile_lockFile(const osl_TFile* pFile, osl_TLockMode eMode)
return
(
sal_True
);
}
lock
.
l_start
=
0
;
lock
.
l_whence
=
SEEK_SET
;
lock
.
l_len
=
0
;
...
...
@@ -1275,7 +1260,6 @@ static osl_TStamp closeFileImpl(osl_TFile* pFile, oslProfileOption Flags)
pFile
->
m_Handle
=
-
1
;