On Wed, 28 Mar 2012 13:29:40 +0200 Leif Middelschulte
<leif.middelschu...@gmail.com> wrote:

> 2012/3/28 Enlightenment SVN <no-re...@enlightenment.org>:
> > Log:
> > put env bug so waiting to happen - env vars wont be set. no crash
> >  though.
> >
> >
> >
> > Author:       raster
> > Date:         2012-03-28 00:26:22 -0700 (Wed, 28 Mar 2012)
> > New Revision: 69696
> > Trac:         http://trac.enlightenment.org/e/changeset/69696
> >
> > Modified:
> >  trunk/e/src/bin/e_start_main.c
> >
> > Modified: trunk/e/src/bin/e_start_main.c
> > ===================================================================
> > --- trunk/e/src/bin/e_start_main.c      2012-03-28 07:17:46 UTC
> > (rev 69695) +++ trunk/e/src/bin/e_start_main.c      2012-03-28
> > 07:26:22 UTC (rev 69696) @@ -27,9 +27,10 @@
> >        setenv(var, val, 1);
> >  #else
> >        char *buf;
> > +        size_t size = strlen(var) + 1 + strlen(val) + 1;
> >
> > -       buf = alloca(strlen(var) + 1 + strlen(val) + 1);
> > -       snprintf(buf, sizeof(buf), "%s=%s", var, val);
> > +       buf = alloca(size;
> missing right paranthesis here?

How did that even compile?

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to