Mercurial > octave-nkf
view .dir-locals.el @ 17631:94dd9bba06a0
Fix validation of array properties to set(), avoid segfaults (bug #bug #35687).
* libinterp/corefcn/graphics.cc(array_property::validate): Don't accept an
empty matrix by default. Instead, check an empty matrix against any size
constraints to verify it is allowed.
* libinterp/corefcn/graphics.in.h: Update init() routines for all graphic
objects to include size constraints on any array_properties. Also
matched type constraints, such as "double" or "uint8", to Matlab.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 11 Oct 2013 09:20:06 -0700 |
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))))