[oe-commits] [openembedded-core] 08/18: site: musl and glibc have glibc compatible getcwd()

git at git.openembedded.org git at git.openembedded.org
Sat Jan 11 09:19:58 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit fe148da36af2dc086e05e2ebc1c088f1b5485de2
Author: André Draszik <git at andred.net>
AuthorDate: Fri Jan 10 16:52:52 2020 +0000

    site: musl and glibc have glibc compatible getcwd()
    
    I.e. allocate memory for the pointer returned when the first
    argument is NULL.
    
    Signed-off-by: André Draszik <git at andred.net>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/site/common-glibc | 1 +
 meta/site/common-musl  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index baab03c..e5085f5 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -29,6 +29,7 @@ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 # coreutils
 fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
+gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
 gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}
 
 # glib
diff --git a/meta/site/common-musl b/meta/site/common-musl
index d8ff443..0c9d21e 100644
--- a/meta/site/common-musl
+++ b/meta/site/common-musl
@@ -34,6 +34,7 @@ bash_cv_sys_siglist=${bash_cv_sys_siglist=no}
 
 # coreutils
 fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
+gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null=yes}
 gl_cv_func_gettimeofday_clobber=${gl_cv_func_gettimeofday_clobber=no}
 gl_cv_func_tzset_clobber=${gl_cv_func_tzset_clobber=no}
 gl_cv_func_gettimeofday_posix_signature=${gl_cv_func_gettimeofday_posix_signature=yes}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list