Mercurial > octave-nkf
view .dir-locals.el @ 17194:aada14bf74ed
randmtzig.c: prevent left-shift of a 1 into sign bit in oct_init_by_entropy().
* randmtzig.c: in expression "word[0] + ... + (word[3]<<24)", cast the latter
to uint32_t before shifting, preventing (C99) undefined behavior.
author | Philipp Kutin <philipp.kutin@gmail.com> |
---|---|
date | Wed, 07 Aug 2013 12:54:30 +0200 |
parents | 7600200a54c8 |
children | 9ff04de067ce |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (unless (string-match "/gnulib/" (buffer-file-name)) (c++-mode) (c-set-style "gnu")))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))