view .hgsubstate @ 18209:a0abcf377ec5 stable

return elements read, not bytes in fread second output (bug #41091) * oct-stream.cc (octave_stream::read): Rename char_count arg to be count. Make char_count a local variable. Use count instead of elts_read. Correctly truncate size of result matrix if fewer elements are read than requested.
author John W. Eaton <jwe@octave.org>
date Fri, 03 Jan 2014 17:29:08 -0500
parents 18096cd30339
children 203431f40cb2
line wrap: on
line source

6d4e36653a40da6604507406f2a97e3e64bf9dbf gnulib-hg