Mercurial > hg > octave-nkf > gnulib-hg
view m4/fmodl-ieee.m4 @ 17780:4fbd46593c56
obstack: use size_t alignments and check for overflow
* lib/obstack.c, lib/obstack.h (_obstack_begin, _obstack_begin_1):
* lib/obstack.c (_obstack_begin_worker, _obstack_newchunk):
* lib/obstack.h (struct obstack.alignment_mask):
Use _OBSTACK_SIZE_T, not int, for alignments.
* lib/obstack.c (_obstack_newchunk): Fail if the size calculation
overflows, e.g., when adding the alignment.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 28 Oct 2014 23:58:42 -0700 |
parents | 344018b6e5d7 |
children | ab58d4870664 |
line wrap: on
line source
# fmodl-ieee.m4 serial 1 dnl Copyright (C) 2012-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This macro is in a separate file (not in fmodl.m4 and not inlined in the dnl module description), so that gl_FUNC_FMODL can test whether 'aclocal' has dnl found uses of this macro. AC_DEFUN([gl_FUNC_FMODL_IEEE], [ m4_divert_text([INIT_PREPARE], [gl_fmodl_required=ieee]) AC_REQUIRE([gl_FUNC_FMODL]) ])