Mercurial > octave
diff libinterp/interpfcn/toplev.cc @ 15451:219479b461b8
build: Add missing tests and gnulib modules suggested by autoscan.
* build-aux/bootstrap_gnulib.conf: Add float and stddef header modules.
* libgnu/Makefile.am: Automatically re-generated when module list changed.
* configure.ac: Add function check for isascii, modf, pow, sqrt.
Add function check for chown, ftruncate, mmap, munmap when building GUI.
* libinterp/interpfcn/toplev.cc: Add gnulib:: qualifier to malloc call.
* liboctave/util/oct-shlib.cc: Add gnulib:: qualifier to strerror call.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 28 Sep 2012 14:22:54 -0700 |
parents | cabe2fa4566c |
children | 049e8bbff782 |
line wrap: on
line diff
--- a/libinterp/interpfcn/toplev.cc Fri Sep 28 15:04:09 2012 -0400 +++ b/libinterp/interpfcn/toplev.cc Fri Sep 28 14:22:54 2012 -0700 @@ -1524,11 +1524,11 @@ /* malloc (0) is unpredictable; avoid it. */ if (sz == 0) sz = 1; - p = malloc (sz); + p = gnulib::malloc (sz); while (p == 0) { (*__new_handler) (); - p = malloc (sz); + p = gnulib::malloc (sz); } if (debug_new_delete)