[Click] AggregateIPFlows HostPair swap patch

Eddie Kohler kohler at cs.ucla.edu
Fri Jun 1 12:04:00 EDT 2007


Hi Marco,

Thanks for this note!  Yes, that xor swap has always been lame, I don't know 
why we did this.  It is fixed.

Eddie


Marco Canini wrote:
> Hi,
> this patches solves a problem I encountered while compiling click
> userlevel with CXXFLAGS='-g'
> Apparently the XOR swap is not handled correctly by my GCC (Ubuntu
> 4.1.2-0ubuntu4) as one of the swapped variable gets assigned zero.
> Looking at http://everything2.com/index.pl?node_id=52605 it seems that
> it depends on the compiler. I fixed with a conventional swap.
> Please put me in CC for replies as I will unsubscribe after this msg.
> cheers
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list