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
22d9af36
Kaydet (Commit)
22d9af36
authored
Haz 29, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ah MS why do you hate me so
Change-Id: I268e1f5caa68668efdd2d83d1d8fe00401c6ed0f
üst
6736ca4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
makefile.mk
mythes/makefile.mk
+2
-1
mythes-ssizet.patch
mythes/mythes-ssizet.patch
+20
-0
No files found.
mythes/makefile.mk
Dosyayı görüntüle @
22d9af36
...
...
@@ -44,7 +44,8 @@ ADDITIONAL_FILES += makefile.mk
PATCH_FILES
=
\
mythes-1.2.0-vanilla-th-gen-idx.patch
\
mythes-1.2.0-makefile-mk.diff
\
mythes-1.2.0-android.patch
mythes-1.2.0-android.patch
\
mythes-ssizet.patch
.IF
"$(COM)"
==
"GCC"
.IF
"$(SYSTEM_HUNSPELL)"
!=
"YES"
...
...
mythes/mythes-ssizet.patch
0 → 100644
Dosyayı görüntüle @
22d9af36
--- misc/mythes-1.2.3/mythes.cxx 2012-06-29 13:16:55.812939142 +0100
+++ misc/build/mythes-1.2.3/mythes.cxx 2012-06-29 13:17:21.159198507 +0100
@@ -48,7 +48,7 @@
len = readLine(pifile,wrd,MAX_WD_LEN);
int idxsz = atoi(wrd);
- if (idxsz <= 0 || idxsz > std::numeric_limits<ssize_t>::max() / sizeof(sizeof(char*))) {
+ if (idxsz <= 0 || idxsz > std::numeric_limits<int>::max() / sizeof(sizeof(char*))) {
fprintf(stderr,"Error - bad index %d\n", idxsz);
fclose(pifile);
return 0;
@@ -176,7 +176,7 @@
return 0;
}
int nmeanings = atoi(buf+np+1);
- if (nmeanings < 0 || nmeanings > std::numeric_limits<ssize_t>::max() / sizeof(mentry))
+ if (nmeanings < 0 || nmeanings > std::numeric_limits<int>::max() / sizeof(mentry))
nmeanings = 0;
*pme = (mentry*)(nmeanings ? malloc(nmeanings * sizeof(mentry)) : NULL);
if (!(*pme)) {
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