summaryrefslogtreecommitdiff
path: root/tests/putenv.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-10-18 19:07:08 +0200
committerJörg Frings-Fürst <debian@jff.email>2025-10-18 19:07:08 +0200
commit693ae7b71dfdd1a8146266b5794a71c0dbe5dff0 (patch)
tree9704e2f7bd8962ea8911cd6f4e2d37227d7eff2e /tests/putenv.c
parentb8b9b0ac61ac47dddc58717f23619f8b06640498 (diff)
parent27dae84ed92f1ef0300263091972338d12e78348 (diff)
Update upstream source from tag 'upstream/1.4.1'
Update to upstream version '1.4.1' with Debian dir 8add41ffbfe3e6636eec0ec134c5af96832cc143
Diffstat (limited to 'tests/putenv.c')
-rw-r--r--tests/putenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/putenv.c b/tests/putenv.c
index d3084c9e..c310ebda 100644
--- a/tests/putenv.c
+++ b/tests/putenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1997-1998, 2000, 2003-2024 Free Software
+/* Copyright (C) 1991, 1994, 1997-1998, 2000, 2003-2025 Free Software
Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
@@ -106,7 +106,7 @@ putenv (char *string)
name_x[name_end - string + 2] = 0;
putenv_result = _putenv (name_x);
for (ep = environ; *ep; ep++)
- if (strcmp (*ep, name_x) == 0)
+ if (streq (*ep, name_x))
{
*ep = string;
break;