diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/hard-locale.c | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/hard-locale.c')
| -rw-r--r-- | gl/hard-locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/hard-locale.c b/gl/hard-locale.c index 767906d1..6a3dad4f 100644 --- a/gl/hard-locale.c +++ b/gl/hard-locale.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* hard-locale.c -- Determine whether a locale is hard. | 1 | /* hard-locale.c -- Determine whether a locale is hard. |
| 2 | 2 | ||
| 3 | Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2025 Free Software | 3 | Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2026 Free Software |
| 4 | Foundation, Inc. | 4 | Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is free software: you can redistribute it and/or modify | 6 | This file is free software: you can redistribute it and/or modify |
| @@ -32,7 +32,7 @@ hard_locale (int category) | |||
| 32 | if (setlocale_null_r (category, locale, sizeof (locale))) | 32 | if (setlocale_null_r (category, locale, sizeof (locale))) |
| 33 | return false; | 33 | return false; |
| 34 | 34 | ||
| 35 | if (!(strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0)) | 35 | if (!(streq (locale, "C") || streq (locale, "POSIX"))) |
| 36 | return true; | 36 | return true; |
| 37 | 37 | ||
| 38 | #if defined __ANDROID__ | 38 | #if defined __ANDROID__ |
