[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] strstr patch to assume C89 or better
From: |
Bruno Haible |
Subject: |
[Bug-gnulib] strstr patch to assume C89 or better |
Date: |
Wed, 10 Sep 2003 16:13:06 +0200 |
User-agent: |
KMail/1.5 |
I installed this one.
* lib/strstr.c: Include <string.h> unconditionally.
* m4/strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
*** lib/strstr.c 15 Nov 2002 17:36:03 -0000 1.9
--- lib/strstr.c 10 Sep 2003 13:47:01 -0000
***************
*** 1,4 ****
! /* Copyright (C) 1994, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
--- 1,4 ----
! /* Copyright (C) 1994, 1999, 2002-2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
***************
*** 28,36 ****
# include <config.h>
#endif
! #if defined _LIBC || defined HAVE_STRING_H
! # include <string.h>
! #endif
typedef unsigned chartype;
--- 28,34 ----
# include <config.h>
#endif
! #include <string.h>
typedef unsigned chartype;
*** m4/strstr.m4 31 Dec 2002 13:42:07 -0000 1.1
--- m4/strstr.m4 10 Sep 2003 13:47:02 -0000
***************
*** 1,5 ****
! # strstr.m4 serial 1
! dnl Copyright (C) 2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
--- 1,5 ----
! # strstr.m4 serial 2
! dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
***************
*** 15,20 ****
])
# Prerequisites of lib/strstr.c.
! AC_DEFUN([gl_PREREQ_STRSTR], [
! AC_CHECK_HEADERS_ONCE(string.h)
! ])
--- 15,18 ----
])
# Prerequisites of lib/strstr.c.
! AC_DEFUN([gl_PREREQ_STRSTR], [:])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] strstr patch to assume C89 or better,
Bruno Haible <=