diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:50:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-28 12:50:39 +0100 |
| commit | e7dd07c8025b169b7b43b955066a7200d9cdf244 (patch) | |
| tree | 6e8c927cfc67f3708b91ac79df07707af26e4929 /gl/m4/strcasestr.m4 | |
| parent | 828a9720b10814c5836d03aa35af05d196c4104b (diff) | |
| parent | b0afb8fe0ff1d87165af9df61501197a06240dda (diff) | |
| download | monitoring-plugins-e7dd07c8.tar.gz | |
Merge pull request #2213 from RincewindsHat/update/gnulib
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/m4/strcasestr.m4')
| -rw-r--r-- | gl/m4/strcasestr.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gl/m4/strcasestr.m4 b/gl/m4/strcasestr.m4 index d2548716..eb2862f1 100644 --- a/gl/m4/strcasestr.m4 +++ b/gl/m4/strcasestr.m4 | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | # strcasestr.m4 | 1 | # strcasestr.m4 |
| 2 | # serial 28 | 2 | # serial 29 |
| 3 | dnl Copyright (C) 2005, 2007-2024 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2005, 2007-2025 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
| 7 | dnl This file is offered as-is, without any warranty. | ||
| 7 | 8 | ||
| 8 | dnl Check that strcasestr is present and works. | 9 | dnl Check that strcasestr is present and works. |
| 9 | AC_DEFUN([gl_FUNC_STRCASESTR_SIMPLE], | 10 | AC_DEFUN([gl_FUNC_STRCASESTR_SIMPLE], |
| @@ -98,7 +99,7 @@ static void quit (int sig) { _exit (sig + 128); } | |||
| 98 | char *haystack = (char *) malloc (2 * m + 2); | 99 | char *haystack = (char *) malloc (2 * m + 2); |
| 99 | char *needle = (char *) malloc (m + 2); | 100 | char *needle = (char *) malloc (m + 2); |
| 100 | /* Failure to compile this test due to missing alarm is okay, | 101 | /* Failure to compile this test due to missing alarm is okay, |
| 101 | since all such platforms (mingw) also lack strcasestr. */ | 102 | since all such platforms (mingw, MSVC) also lack strcasestr. */ |
| 102 | signal (SIGALRM, quit); | 103 | signal (SIGALRM, quit); |
| 103 | alarm (5); | 104 | alarm (5); |
| 104 | /* Check for quadratic performance. */ | 105 | /* Check for quadratic performance. */ |
