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
723719b4
Kaydet (Commit)
723719b4
authored
Ock 19, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Silence -Werror=nonnull (GCC 6)
Change-Id: I3aa5f4342ad362b0075d033df222467723ee002e
üst
011ce226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
getuid.c
setup_native/scripts/source/getuid.c
+8
-0
No files found.
setup_native/scripts/source/getuid.c
Dosyayı görüntüle @
723719b4
...
@@ -123,7 +123,15 @@ int __lxstat(int n, const char *path, struct stat *buf)
...
@@ -123,7 +123,15 @@ int __lxstat(int n, const char *path, struct stat *buf)
p_lstat
=
(
int
(
*
)(
int
n
,
const
char
*
path
,
struct
stat
*
buf
))
p_lstat
=
(
int
(
*
)(
int
n
,
const
char
*
path
,
struct
stat
*
buf
))
dlsym
(
RTLD_NEXT
,
"__lxstat"
);
dlsym
(
RTLD_NEXT
,
"__lxstat"
);
ret
=
(
*
p_lstat
)(
n
,
path
,
buf
);
ret
=
(
*
p_lstat
)(
n
,
path
,
buf
);
#if defined __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnonnull"
// __lxstat may be declared in system headers as taking nonnull argument
#endif
assert
(
buf
!=
NULL
);
assert
(
buf
!=
NULL
);
#if defined __GNUC__
#pragma GCC diagnostic pop
#endif
buf
->
st_uid
=
0
;
/* root */
buf
->
st_uid
=
0
;
/* root */
buf
->
st_gid
=
0
;
/* root */
buf
->
st_gid
=
0
;
/* root */
return
ret
;
return
ret
;
...
...
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