Ignore:
Timestamp:
Sep 19, 2024, 2:34:43 AM (10 months ago)
Author:
bird
Message:

src/sed: Merged in changes between 4.1.5 and 4.9 from the vendor branch. (svn merge /vendor/sed/4.1.5 /vendor/sed/current .)

Location:
trunk/src/sed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sed

  • trunk/src/sed/lib/regex.c

    r599 r3613  
    11/* Extended regular expression matching and search library.
    2    Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
     2   Copyright (C) 2002-2022 Free Software Foundation, Inc.
    33   This file is part of the GNU C Library.
    44   Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
     
    1515
    1616   You should have received a copy of the GNU Lesser General Public
    17    License along with the GNU C Library; if not, write to the Free
    18    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    19    02111-1307 USA.  */
     17   License along with the GNU C Library; if not, see
     18   <https://www.gnu.org/licenses/>.  */
    2019
    21 #ifdef HAVE_CONFIG_H
    22 #include "config.h"
     20#define __STDC_WANT_IEC_60559_BFP_EXT__
     21
     22#ifndef _LIBC
     23# include <libc-config.h>
     24
     25# if __GNUC_PREREQ (4, 6)
     26#  pragma GCC diagnostic ignored "-Wsuggest-attribute=pure"
     27#  pragma GCC diagnostic ignored "-Wvla"
     28# endif
     29# if __GNUC_PREREQ (4, 3)
     30#  pragma GCC diagnostic ignored "-Wold-style-definition"
     31#  pragma GCC diagnostic ignored "-Wtype-limits"
     32# endif
    2333#endif
    2434
    25 /* Make sure noone compiles this code with a C++ compiler.  */
    26 #ifdef __cplusplus
     35/* Make sure no one compiles this code with a C++ compiler.  */
     36#if defined __cplusplus && defined _LIBC
    2737# error "This is C code, use a C compiler"
    2838#endif
Note: See TracChangeset for help on using the changeset viewer.