Mercurial > hg > octave-nkf
view .dir-locals.el @ 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 | 9ff04de067ce |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (and (buffer-file-name) (string-match-p "\\.h\\'" (buffer-file-name)) (not (string-match-p "/gnulib/" (buffer-file-name)))) (c++-mode) (c-set-style "gnu"))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))