diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-10-18 19:06:52 +0200 |
commit | 27dae84ed92f1ef0300263091972338d12e78348 (patch) | |
tree | 7c52931f474fafb8a4bd4fd15ca3461c77cdecc2 /tests/putenv.c | |
parent | 4682deeb62247d34de87f8e777f99e2d337fd377 (diff) |
New upstream version 1.4.1upstream/1.4.1upstream
Diffstat (limited to 'tests/putenv.c')
-rw-r--r-- | tests/putenv.c | 4 |
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; |