[Halld-offline] I goofed

Richard Jones richard.t.jones at uconn.edu
Fri Mar 7 08:34:27 EST 2014


Hello data challengers,

I messed up in a recent change that I checked into the trunk and the dc-2
branch that affects hddm i/o.  I was trying to get rid of a compiler
warning that recommends extra parentheses in the int expression, "4-len&3".
 To "fix" this I changed the expression to "4-(len&3)" which made sense to
me because the bitwise-and "&" is every bit a multiply, so it should have
precedence above the +, right?  WRONG!  I have just now checked in an
update that changes this to "(4-len)&3", and my test of hddm i/o is working
again.

Unfortunately, if you have been building with the updated xstream source
tree (updated some time a week ago) then you may be seeing random file
truncation, seg faults, and the like.  I don't think this explains the
short rest file problem, but it could be affecting the symptoms so please
update to the latest source and rebuild before continuing with tests.  This
was unnecessary, sorry about my blunder.

-Richard J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20140307/4a45ac60/attachment-0002.html>


More information about the Halld-offline mailing list