hpcc-systems/HPCC-Platform — pull request #1601 by rengolin (2012-02-17 11:57:33+00:00)
Title: Fix unused result on write warning

write returns the number of bytes written. If it's different than what's been asked for, the write was truncated. If it's -1, it failed altogether. On both occasions, this error is serious and needs a decent treatment.

On more shallow parts (dfuplus and hidlcomp), I've added a little more information, but on core places (jlib), differentiating them would probably cause more confusion than add.

No regressions detected.