source: patches/m4-1.4.16-no-gets-1.patch@ 40622d9

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 40622d9 was a595f9f, checked in by William Harrington <kb0iic@…>, 12 years ago

Add m4 no gets patch.

  • Property mode set to 100644
File size: 570 bytes
  • lib/stdio.in.h

    Submitted By: Anthony Creech (lunatic at qx dot net)
    Date: 10/23/12
    Initial Package Version: 1.4.16
    Origin: Gentoo
    Upstream Status: Accepted
    Description: stdio: don't assume gets any more 
                        hack until m4 pulls a newer gnulib version
    
    a b  
    125125   so any use of gets warrants an unconditional warning.  Assume it is
    126126   always declared, since it is required by C89.  */
    127127#undef gets
    128 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
    129128
    130129#if @GNULIB_FOPEN@
    131130# if @REPLACE_FOPEN@
Note: See TracBrowser for help on using the repository browser.