[OE-core] [oe-core][PATCH 1/1] common-glibc: define bash_cv_getcwd_malloc

Joe Slater jslater at windriver.com
Tue Jul 21 17:39:10 UTC 2015


We do not want bash to use internal code for getcwd() because
it can fail in certain filesystem types.  Trust that the function
in glibc is not "broken".

Signed-off-by: Joe Slater <jslater at windriver.com>
---
 meta/site/common-glibc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 8329bb3..1443f8e 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -18,6 +18,7 @@ ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 # bash
 bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=yes}
 bash_cv_sys_siglist=${bash_cv_sys_siglist=yes}
+bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes}
 
 # clamav
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
-- 
1.7.9.5




More information about the Openembedded-core mailing list