]> code.ossystems Code Review - openembedded-core.git/commitdiff
common-glibc: define bash_cv_getcwd_malloc
authorJoe Slater <jslater@windriver.com>
Tue, 21 Jul 2015 17:39:10 +0000 (10:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jul 2015 22:25:01 +0000 (23:25 +0100)
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@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/site/common-glibc

index 8329bb3e15adc5239addfe381125e421ab5d4c66..1443f8e528bdbdb85846c1c293e1c097ff0b7e83 100644 (file)
@@ -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}