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

Khem Raj raj.khem at gmail.com
Wed Aug 12 07:49:51 UTC 2015


> On Jul 21, 2015, at 10:39 AM, Joe Slater <jslater at windriver.com> wrote:
> 
> 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”.

I would suggest to move this to bash recipe as

CACHED_CONFIGUREVARS += “bash_cv_getcwd_malloc=yes”

so other libcs can also benefit.

> 
> 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
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150812/0cf555bf/attachment-0002.sig>


More information about the Openembedded-core mailing list