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
bce3a0a6
Kaydet (Commit)
bce3a0a6
authored
May 26, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fragile concat-deps _process misinterprets ENOMEM from file_load
Change-Id: I0df494b74f23b0a30fe26e25f58b4827bd28ed47
üst
ba97e26d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
concat-deps.c
solenv/bin/concat-deps.c
+2
-2
No files found.
solenv/bin/concat-deps.c
Dosyayı görüntüle @
bce3a0a6
...
@@ -593,7 +593,7 @@ off_t size = -1;
...
@@ -593,7 +593,7 @@ off_t size = -1;
}
}
#if !ENABLE_RUNTIME_OPTIMIZATIONS
#if !ENABLE_RUNTIME_OPTIMIZATIONS
static
void
*
file_load_buffers
[
100
];
static
void
*
file_load_buffers
[
100
000
];
static
size_t
file_load_buffer_count
=
0
;
static
size_t
file_load_buffer_count
=
0
;
#endif
#endif
...
@@ -620,7 +620,7 @@ int fd;
...
@@ -620,7 +620,7 @@ int fd;
#if !ENABLE_RUNTIME_OPTIMIZATIONS
#if !ENABLE_RUNTIME_OPTIMIZATIONS
if
(
buffer
!=
NULL
)
if
(
buffer
!=
NULL
)
{
{
if
(
file_load_buffer_count
==
100
)
if
(
file_load_buffer_count
==
100
000
)
{
{
free
(
buffer
);
free
(
buffer
);
buffer
=
NULL
;
buffer
=
NULL
;
...
...
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