Mercurial > octave
view .hgignore @ 21517:e626d8a3427e
avoid possible memory leak related to ostringstream objects
* oct-stream.cc (scanf_format_list::buf, printf_format_list::buf,
textscan_format_list:buf): Use std::ostringstream object instead of a
pointer to one that must be allocated. Instead of deleting, clear
flags and initialize internal string buffer. Update all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 21 Mar 2016 22:37:34 -0400 |
parents | 5b7643257978 |
children | 5e083d07ba35 |
line wrap: on
line source
syntax: regexp # The recurrent (^|/) idiom in the regexps below should be understood # to mean "at any directory" while the ^ idiom means "from the # project's top-level directory". # gnulib makes these silly backup files .~$ # This directory gets created by gnulib during the build. # It contains no Octave files. ^libgnu/* # This directory mostly contains cruft during build time, but it does # contain some Octave code, so we gotta be a bit more careful about # what we ignore here ^m4/(?!ax_).+\.m4$ # Emacs tools create these (^|/)TAGS$ (^|/)semantic.cache$ (/|^)Makefile\.in$ ^INSTALL$ ^aclocal\.m4$ ^build-.*($|/) ^configure$ ^autom4te\.cache($|/) ^config\.in\.h$ # e.g. doc/faq/OctaveFAQ.info # doc/interpreter/octave.info-4 ^doc/.*\.info(-\d)?$ ^doc/\w*/stamp-(vti|\d+)$ ^doc/\w*/version-\w+\.texi$ ^doc/interpreter/images\.mk$ # e.g. liboctave/operators/smx-op-inc.mk ^liboctave/operators/\w+-op-\w+\.mk$ ^libinterp/dldfcn/module\.mk$