[InterNetNews/inn] 5f5063: Remove alloca from all source code

Julien ÉLIE noreply at github.com
Mon Oct 18 18:52:28 UTC 2021

  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: 5f506335d948ea400cb64ea49182209ab4a32a70
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M Makefile.global.in
    M TODO
    M configure.ac
    M doc/FAQ
    R include/portable/alloca.h
    M innfeed/configfile.y
    M lib/Makefile
    R lib/alloca.c
    M nnrpd/Makefile
    M nnrpd/nnrpd.c

  Log Message:
  Remove alloca from all source code

alloca was used for:
- nnrpd, added in 2004 in the TLS code, but removed in 2008 to use
realloc() because of segmentation faults;
-  innfeed, for the Bison-parser, but YYSTACK_USE_ALLOCA has been
defaulting to 0 since Bison 2.0 released in 2004.

alloca is therefore no longer useful.
Update all places where it is mentioned (including the FAQ, with a bug
related to alloca on SCO OpenServer).

More information about the inn-committers mailing list