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
83fade2f
Kaydet (Commit)
83fade2f
authored
Şub 16, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove SCO support
üst
92f34f60
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1 addition
and
199 deletions
+1
-199
include.c
idlc/source/preproc/include.c
+0
-4
macro.c
idlc/source/preproc/macro.c
+0
-4
reflread.cxx
registry/source/reflread.cxx
+0
-4
reflwrit.cxx
registry/source/reflwrit.cxx
+0
-4
regimpl.cxx
registry/source/regimpl.cxx
+0
-4
registry.cxx
registry/source/registry.cxx
+0
-4
endian.h
sal/inc/osl/endian.h
+1
-13
system.h
sal/osl/os2/system.h
+0
-31
system.c
sal/osl/unx/system.c
+0
-100
system.h
sal/osl/unx/system.h
+0
-31
No files found.
idlc/source/preproc/include.c
Dosyayı görüntüle @
83fade2f
...
@@ -37,10 +37,6 @@
...
@@ -37,10 +37,6 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <fcntl.h>
#include <fcntl.h>
#ifdef SCO
#define _IBCS2
#endif
#include <limits.h>
#include <limits.h>
#include "cpp.h"
#include "cpp.h"
...
...
idlc/source/preproc/macro.c
Dosyayı görüntüle @
83fade2f
...
@@ -31,10 +31,6 @@
...
@@ -31,10 +31,6 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#ifdef SCO
# define _IBCS2
#endif
#include <limits.h>
#include <limits.h>
#include "cpp.h"
#include "cpp.h"
...
...
registry/source/reflread.cxx
Dosyayı görüntüle @
83fade2f
...
@@ -51,10 +51,6 @@ const sal_uInt32 magic = 0x12345678;
...
@@ -51,10 +51,6 @@ const sal_uInt32 magic = 0x12345678;
const
sal_uInt16
minorVersion
=
0x0000
;
const
sal_uInt16
minorVersion
=
0x0000
;
const
sal_uInt16
majorVersion
=
0x0001
;
const
sal_uInt16
majorVersion
=
0x0001
;
#if defined ( GCC ) && ( defined ( SCO ) )
ORealDynamicLoader
*
ODynamicLoader
<
RegistryTypeReader_Api
>::
m_pLoader
=
NULL
;
#endif
/**************************************************************************
/**************************************************************************
class BlopObject
class BlopObject
...
...
registry/source/reflwrit.cxx
Dosyayı görüntüle @
83fade2f
...
@@ -58,10 +58,6 @@ inline rtl::OString toByteString(rtl_uString const * str) {
...
@@ -58,10 +58,6 @@ inline rtl::OString toByteString(rtl_uString const * str) {
static
sal_Unicode
NULL_WSTRING
[
1
]
=
{
0
};
static
sal_Unicode
NULL_WSTRING
[
1
]
=
{
0
};
#if defined ( GCC ) && ( defined ( SCO ) )
ORealDynamicLoader
*
ODynamicLoader
<
RegistryTypeWriter_Api
>::
m_pLoader
=
NULL
;
#endif
#define BLOP_OFFSET_MAGIC 0
#define BLOP_OFFSET_MAGIC 0
#define BLOP_OFFSET_SIZE (BLOP_OFFSET_MAGIC + sizeof(sal_uInt32))
#define BLOP_OFFSET_SIZE (BLOP_OFFSET_MAGIC + sizeof(sal_uInt32))
#define BLOP_OFFSET_MINOR (BLOP_OFFSET_SIZE + sizeof(sal_uInt32))
#define BLOP_OFFSET_MINOR (BLOP_OFFSET_SIZE + sizeof(sal_uInt32))
...
...
registry/source/regimpl.cxx
Dosyayı görüntüle @
83fade2f
...
@@ -65,10 +65,6 @@ using namespace rtl;
...
@@ -65,10 +65,6 @@ using namespace rtl;
using
namespace
osl
;
using
namespace
osl
;
using
namespace
store
;
using
namespace
store
;
#if defined ( GCC ) && ( defined ( SCO ) )
sal_helper
::
ORealDynamicLoader
*
sal_helper
::
ODynamicLoader
<
RegistryTypeReader_Api
>::
m_pLoader
=
NULL
;
#endif
namespace
{
namespace
{
void
printString
(
rtl
::
OUString
const
&
s
)
{
void
printString
(
rtl
::
OUString
const
&
s
)
{
...
...
registry/source/registry.cxx
Dosyayı görüntüle @
83fade2f
...
@@ -47,10 +47,6 @@
...
@@ -47,10 +47,6 @@
#include <unistd.h>
#include <unistd.h>
#endif
#endif
#if defined ( GCC ) && ( defined ( SCO ) )
ORealDynamicLoader
*
ODynamicLoader
<
Registry_Api
>::
m_pLoader
=
NULL
;
#endif
extern
"C"
{
extern
"C"
{
//*********************************************************************
//*********************************************************************
...
...
sal/inc/osl/endian.h
Dosyayı görüntüle @
83fade2f
...
@@ -94,18 +94,6 @@ extern "C" {
...
@@ -94,18 +94,6 @@ extern "C" {
#endif
#endif
#endif
#endif
#ifdef SCO
# include <sys/types.h>
# include <sys/byteorder.h>
# if BYTE_ORDER == LITTLE_ENDIAN
# define _LITTLE_ENDIAN
# elif BYTE_ORDER == BIG_ENDIAN
# define _BIG_ENDIAN
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
#endif
#ifdef AIX
#ifdef AIX
# include <sys/machine.h>
# include <sys/machine.h>
# if BYTE_ORDER == LITTLE_ENDIAN
# if BYTE_ORDER == LITTLE_ENDIAN
...
@@ -153,7 +141,7 @@ extern "C" {
...
@@ -153,7 +141,7 @@ extern "C" {
/** Check supported platform.
/** Check supported platform.
*/
*/
#if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \
#if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \
!defined(LINUX) && !defined(NETBSD) &&
!defined(SCO) &&
\
!defined(LINUX) && !defined(NETBSD) && \
!defined(AIX) && !defined(OPENBSD) && \
!defined(AIX) && !defined(OPENBSD) && \
!defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) && \
!defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) && \
!defined(DRAGONFLY)
!defined(DRAGONFLY)
...
...
sal/osl/os2/system.h
Dosyayı görüntüle @
83fade2f
...
@@ -222,37 +222,6 @@ int debug_printf(const char *f, ...);
...
@@ -222,37 +222,6 @@ int debug_printf(const char *f, ...);
# define NO_PTHREAD_RTL
# define NO_PTHREAD_RTL
#endif
#endif
#ifdef SCO
# define AF_IPX -1
# include <strings.h>
# include <pthread.h>
# include <shadow.h>
# include <netdb.h>
# include <sys/un.h>
# include <sys/netinet/tcp.h>
# include <sys/types.h>
# include <sys/byteorder.h>
# include <dlfcn.h>
# if BYTE_ORDER == LITTLE_ENDIAN
# define _LITTLE_ENDIAN
# elif BYTE_ORDER == BIG_ENDIAN
# define _BIG_ENDIAN
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# define sched_yield() pthread_yield()
# define pthread_testcancel()
# define NO_PTHREAD_RTL
# define NO_PTHREAD_PRIORITY
extern
int
pthread_cancel
(
pthread_t
);
extern
unsigned
int
nanosleep
(
unsigned
int
);
# define SLEEP_TIMESPEC(timespec) (timespec .tv_sec > 0) ? sleep(timespec .tv_sec), nanosleep(timespec .tv_nsec) : nanosleep(timespec .tv_nsec)
# define PATH_MAX _POSIX_PATH_MAX
# define S_ISSOCK S_ISFIFO
# define PTHREAD_SIGACTION pthread_sigaction
# define STAT_PARENT stat
#endif
#ifdef AIX
#ifdef AIX
# define AF_IPX -1
# define AF_IPX -1
# include <strings.h>
# include <strings.h>
...
...
sal/osl/unx/system.c
Dosyayı görüntüle @
83fade2f
...
@@ -187,106 +187,6 @@ struct tm *gmtime_r(const time_t *timep, struct tm *buffer)
...
@@ -187,106 +187,6 @@ struct tm *gmtime_r(const time_t *timep, struct tm *buffer)
}
}
#endif
/* defined NETBSD */
#endif
/* defined NETBSD */
#ifdef SCO
#include <pwd.h>
#include <shadow.h>
#include <sys/types.h>
struct
spwd
*
getspnam_r
(
const
char
*
name
,
struct
spwd
*
s
,
char
*
buffer
,
int
size
)
{
struct
spwd
*
res
;
pthread_mutex_lock
(
&
getrtl_mutex
);
if
(
res
=
getspnam
(
name
)
)
{
int
nnamp
;
nnamp
=
strlen
(
res
->
sp_namp
)
+
1
;
if
(
nnamp
+
strlen
(
res
->
sp_pwdp
)
<
size
)
{
memcpy
(
s
,
res
,
sizeof
(
struct
spwd
));
strcpy
(
buffer
,
res
->
sp_namp
);
s
->
sp_namp
=
buffer
;
buffer
+=
nnamp
;
strcpy
(
buffer
,
res
->
sp_pwdp
);
s
->
sp_pwdp
=
buffer
;
res
=
s
;
}
else
res
=
0
;
}
pthread_mutex_unlock
(
&
getrtl_mutex
);
return
res
;
}
struct
passwd
*
getpwnam_r
(
const
char
*
name
,
struct
passwd
*
s
,
char
*
buffer
,
int
size
)
{
struct
passwd
*
res
;
pthread_mutex_lock
(
&
getrtl_mutex
);
if
(
res
=
getpwnam
(
name
)
)
{
int
nname
,
npasswd
,
nage
;
int
ncomment
,
ngecos
,
ndir
;
nname
=
strlen
(
res
->
pw_name
)
+
1
;
npasswd
=
strlen
(
res
->
pw_passwd
)
+
1
;
nage
=
strlen
(
res
->
pw_age
)
+
1
;
ncomment
=
strlen
(
res
->
pw_comment
)
+
1
;
ngecos
=
strlen
(
res
->
pw_gecos
)
+
1
;
ndir
=
strlen
(
res
->
pw_dir
)
+
1
;
if
(
nname
+
npasswd
+
nage
+
ncomment
+
ngecos
+
ndir
+
strlen
(
res
->
pw_shell
)
<
size
)
{
memcpy
(
s
,
res
,
sizeof
(
struct
passwd
));
strcpy
(
buffer
,
res
->
pw_name
);
s
->
pw_name
=
buffer
;
buffer
+=
nname
;
strcpy
(
buffer
,
res
->
pw_passwd
);
s
->
pw_passwd
=
buffer
;
buffer
+=
npasswd
;
strcpy
(
buffer
,
res
->
pw_age
);
s
->
pw_age
=
buffer
;
buffer
+=
nage
;
strcpy
(
buffer
,
res
->
pw_comment
);
s
->
pw_comment
=
buffer
;
buffer
+=
ncomment
;
strcpy
(
buffer
,
res
->
pw_gecos
);
s
->
pw_gecos
=
buffer
;
buffer
+=
ngecos
;
strcpy
(
buffer
,
res
->
pw_dir
);
s
->
pw_dir
=
buffer
;
buffer
+=
ndir
;
strcpy
(
buffer
,
res
->
pw_shell
);
s
->
pw_shell
=
buffer
;
res
=
s
;
}
else
res
=
0
;
}
pthread_mutex_unlock
(
&
getrtl_mutex
);
return
res
;
}
#endif
/* defined SCO */
#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
#if !defined(FREEBSD) || (__FreeBSD_version < 601103)
extern
int
h_errno
;
extern
int
h_errno
;
...
...
sal/osl/unx/system.h
Dosyayı görüntüle @
83fade2f
...
@@ -244,37 +244,6 @@
...
@@ -244,37 +244,6 @@
# define IORESOURCE_TRANSFER_BSD
# define IORESOURCE_TRANSFER_BSD
#endif
#endif
#ifdef SCO
# define AF_IPX -1
# include <strings.h>
# include <pthread.h>
# include <shadow.h>
# include <netdb.h>
# include <sys/un.h>
# include <sys/netinet/tcp.h>
# include <sys/types.h>
# include <sys/byteorder.h>
# include <dlfcn.h>
# if BYTE_ORDER == LITTLE_ENDIAN
# define _LITTLE_ENDIAN
# elif BYTE_ORDER == BIG_ENDIAN
# define _BIG_ENDIAN
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# define sched_yield() pthread_yield()
# define pthread_testcancel()
# define NO_PTHREAD_RTL
# define NO_PTHREAD_PRIORITY
extern
int
pthread_cancel
(
pthread_t
);
extern
unsigned
int
nanosleep
(
unsigned
int
);
# define SLEEP_TIMESPEC(timespec) (timespec .tv_sec > 0) ? sleep(timespec .tv_sec), nanosleep(timespec .tv_nsec) : nanosleep(timespec .tv_nsec)
# define PATH_MAX _POSIX_PATH_MAX
# define S_ISSOCK S_ISFIFO
# define PTHREAD_SIGACTION pthread_sigaction
# define STAT_PARENT stat
#endif
#ifdef AIX
#ifdef AIX
# define AF_IPX -1
# define AF_IPX -1
# include <strings.h>
# include <strings.h>
...
...
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