Mercurial > hg > octave-nkf
view scripts/path/module.mk @ 13991:051a8f94b6f8
avoid memory issue with octave_vsnprintf
* utils.h, utils.cc (octave_vsnprintf, octave_snprintf):
Return std::string, not char *.
(octave_vformat, octave_format): Return size_t, not int.
(octave_vsnprintf): Simplify implementation with vasprintf.
Include gnulib vasprintf.h from gnulib.
* bootstrap.conf (gnulib_modules): Include vasprintf in the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 04 Dec 2011 15:57:58 -0500 |
parents | 8d20fb66a0dc |
children | bb8d3f17248d |
line wrap: on
line source
FCN_FILE_DIRS += path path_FCN_FILES = \ path/matlabroot.m \ path/pathdef.m \ path/savepath.m FCN_FILES += $(path_FCN_FILES) PKG_ADD_FILES += path/PKG_ADD DIRSTAMP_FILES += path/$(octave_dirstamp)