On Mon, Aug 02, 2010 at 02:18:25AM +0200, Denys Vlasenko wrote:
> Well, the patch contains much more changes, which are difficult to check.
> I looked at the changes in fbedacfc8 and it looks like corresponding
> fix to _shipped files is just:
>
> --- a/scripts/kconfig/lex.zconf.c_shipped
> +++ b/scripts/kconfig/lex.zconf.c_shipped
> @@ -265,13 +265,14 @@ static void zconf_endhelp(void)
> */
> FILE *zconf_fopen(const char *name)
> {
> - char *env, fullname[PATH_MAX+1];
> + char *env;
> FILE *f;
>
> f = fopen(name, "r");
> if (!f && name[0] != '/') {
> env = getenv(SRCTREE);
> if (env) {
> + char *fullname = alloca(strlen(env) + strlen(name) +
> 2);
> sprintf(fullname, "%s/%s", env, name);
> f = fopen(fullname, "r");
> }
>
> I applied the above patch to git. Does it work for you now?
It works for me now, thanks!
--
Jérémie Koenig <[email protected]>
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox