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
3f402761
Kaydet (Commit)
3f402761
authored
Kas 08, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
oosplash: remove redundant mac conditionals - we don't build on OS/X
üst
a97b7660
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
file_image_unx.c
desktop/unx/source/file_image_unx.c
+0
-12
start.c
desktop/unx/source/start.c
+0
-6
No files found.
desktop/unx/source/file_image_unx.c
Dosyayı görüntüle @
3f402761
...
@@ -101,22 +101,10 @@ int file_image_pagein (file_image * image)
...
@@ -101,22 +101,10 @@ int file_image_pagein (file_image * image)
return
(
0
);
return
(
0
);
if
(
madvise
(
w
.
m_base
,
w
.
m_size
,
MADV_WILLNEED
)
==
-
1
)
if
(
madvise
(
w
.
m_base
,
w
.
m_size
,
MADV_WILLNEED
)
==
-
1
)
{
#ifndef MACOSX
return
(
errno
);
return
(
errno
);
#else
/* madvise MADV_WILLNEED need not succeed here */
/* but that is fine */
#endif
}
#ifndef MACOSX
if
((
s
=
sysconf
(
_SC_PAGESIZE
))
==
-
1
)
if
((
s
=
sysconf
(
_SC_PAGESIZE
))
==
-
1
)
s
=
0x1000
;
s
=
0x1000
;
#else
s
=
getpagesize
();
#endif
k
=
(
size_t
)(
s
);
k
=
(
size_t
)(
s
);
while
(
w
.
m_size
>
k
)
while
(
w
.
m_size
>
k
)
...
...
desktop/unx/source/start.c
Dosyayı görüntüle @
3f402761
...
@@ -624,7 +624,6 @@ system_checks( void )
...
@@ -624,7 +624,6 @@ system_checks( void )
/* re-use the pagein code */
/* re-use the pagein code */
extern
int
pagein_execute
(
int
argc
,
char
**
argv
);
extern
int
pagein_execute
(
int
argc
,
char
**
argv
);
#ifndef MACOSX
static
char
*
build_pagein_path
(
Args
*
args
,
const
char
*
pagein_name
)
static
char
*
build_pagein_path
(
Args
*
args
,
const
char
*
pagein_name
)
{
{
char
*
path
;
char
*
path
;
...
@@ -642,15 +641,11 @@ static char *build_pagein_path (Args *args, const char *pagein_name)
...
@@ -642,15 +641,11 @@ static char *build_pagein_path (Args *args, const char *pagein_name)
return
path
;
return
path
;
}
}
#endif
void
void
exec_pagein
(
Args
*
args
)
exec_pagein
(
Args
*
args
)
{
{
// no pagein for the while on OSX
// no pagein for the while on OSX
#ifdef MACOSX
(
void
)
args
;
#else
char
*
argv
[
3
];
char
*
argv
[
3
];
/* don't use -L - since that does a chdir that breaks relative paths */
/* don't use -L - since that does a chdir that breaks relative paths */
...
@@ -666,7 +661,6 @@ exec_pagein (Args *args)
...
@@ -666,7 +661,6 @@ exec_pagein (Args *args)
if
(
argv
[
2
])
if
(
argv
[
2
])
free
(
argv
[
2
]);
free
(
argv
[
2
]);
free
(
argv
[
1
]);
free
(
argv
[
1
]);
#endif
}
}
static
void
extend_library_path
(
const
char
*
new_element
)
static
void
extend_library_path
(
const
char
*
new_element
)
...
...
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