On Thu, 02 Feb 2017 18:45:47 +0000 Mike Blumenkrantz
<[email protected]> said:

> Would you mind trying to avoid making formatting changes with functional
> changes? I've noticed you doing this for some time now, and it makes your
> patches both harder to review and harder to bisect--even your
> formatting-only patches have functional changes.

i had to revert and rewrite it as i couldn't find the issue by reading it...
thus the formatting changed. since autotools decided every change i made to try
fix it needed a full rebuild (autogen and all) that's 10 mins per "i wonder if
it was this? no? this?" my patience gave in and i reverted and redid (various
times too without and with formatting changes)... so i REALLY wasn't ... after
several hours, going to nitpick on having the spacing/newlines the same as now
it worked. if i didn't have to wait 10mins per "few chars of change" to the
test that then added up to hours of work... i might have bothered.

> On Thu, Feb 2, 2017 at 12:02 AM Carsten Haitzler <[email protected]>
> wrote:
> 
> > raster pushed a commit to branch master.
> >
> >
> > http://git.enlightenment.org/core/efl.git/commit/?id=1b53925b4c2e210972eb24882a5ab5b04effa9af
> >
> > commit 1b53925b4c2e210972eb24882a5ab5b04effa9af
> > Author: Carsten Haitzler (Rasterman) <[email protected]>
> > Date:   Thu Feb 2 10:13:24 2017 +0900
> >
> >     evlog - fix "remove setting stack var to 0" that broke evlogs
> >
> >     this fixes b38c610c7e60cbdcb45fd6d27450e39e3a9c9dd1 - recent commit by
> >     me. bad me! spank!
> > ---
> >  src/lib/eina/eina_evlog.c | 35 +++++++++++++++++------------------
> >  1 file changed, 17 insertions(+), 18 deletions(-)
> >
> > diff --git a/src/lib/eina/eina_evlog.c b/src/lib/eina/eina_evlog.c
> > index 359badb..8c06857 100644
> > --- a/src/lib/eina/eina_evlog.c
> > +++ b/src/lib/eina/eina_evlog.c
> > @@ -128,35 +128,34 @@ EAPI void
> >  eina_evlog(const char *event, void *obj, double srctime, const char
> > *detail)
> >  {
> >     Eina_Evlog_Item *item;
> > -   int size;
> >     char *strings;
> >     double now;
> > +   int size;
> >     unsigned short detail_offset, event_size;
> >
> >     if (!_evlog_go) return;
> > -
> > -   now        = get_time();
> > -   event_size = strlen(event) + 1;
> > -   size       = sizeof(Eina_Evlog_Item) + event_size;
> > +   now                 = get_time();
> > +   event_size          = strlen(event) + 1;
> > +   size                = sizeof(Eina_Evlog_Item) + event_size;
> > +   detail_offset       = 0;
> >     if (detail)
> >       {
> >          detail_offset  = size;
> >          size          += strlen(detail) + 1;
> >       }
> > -   else detail_offset  = 0;
> > -   size = sizeof(double) * ((size + sizeof(double) - 1) / sizeof(double));
> > -
> > +   size                = sizeof(double) * ((size + sizeof(double) - 1)
> > +                                           / sizeof(double));
> >     eina_spinlock_take(&_evlog_lock);
> > -   strings              = push_buf(buf, size);
> > -   item                 = (Eina_Evlog_Item *)strings;
> > -   item->tim            = now;
> > -   item->srctim         = srctime;
> > -   item->thread         = (unsigned long long)pthread_self();
> > -   item->obj            = (unsigned long long)obj;
> > -   item->event_offset   = sizeof(Eina_Evlog_Item);
> > -   item->detail_offset  = detail_offset;
> > -   item->event_next     = size;
> > -   strcpy(strings + size, event);
> > +   strings             = push_buf(buf, size);
> > +   item                = (Eina_Evlog_Item *)strings;
> > +   item->tim           = now;
> > +   item->srctim        = srctime;
> > +   item->thread        = (unsigned long long)pthread_self();
> > +   item->obj           = (unsigned long long)obj;
> > +   item->event_offset  = sizeof(Eina_Evlog_Item);
> > +   item->detail_offset = detail_offset;
> > +   item->event_next    = size;
> > +   strcpy(strings + sizeof(Eina_Evlog_Item), event);
> >     if (detail_offset > 0) strcpy(strings + detail_offset, detail);
> >     eina_spinlock_release(&_evlog_lock);
> >  }
> >
> > --
> >
> >
> >
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to