SerialUtils.cc: deserializeFloat is out of sync with SerialUtils.hh
-------------------------------------------------------------------
Key: MAPREDUCE-1125
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1125
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: pipes
Affects Versions: 0.20.1
Reporter: Simone Leo
*** SerialUtils.hh ***
float deserializeFloat(InStream& stream);
*** SerialUtils.cc ***
void deserializeFloat(float& t, InStream& stream)
{
char buf[sizeof(float)];
stream.read(buf, sizeof(float));
XDR xdrs;
xdrmem_create(&xdrs, buf, sizeof(float), XDR_DECODE);
xdr_float(&xdrs, &t);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.