diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 14:57:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 14:57:57 +0100 |
| commit | da4fb28fca51b180d50608b0c847b1c0927cd8c5 (patch) | |
| tree | d20769e0a61ac2ba76920190050d3e0a3e7c85b7 /gl/timegm.c | |
| parent | b09a8b530df8a23610889d0b89b148f22db3568a (diff) | |
| parent | f694f4cd4dfead0da6feab04d92335d9bbe185b6 (diff) | |
| download | monitoring-plugins-da4fb28f.tar.gz | |
Merge branch 'master' into refactor/check_ide_smart
Diffstat (limited to 'gl/timegm.c')
| -rw-r--r-- | gl/timegm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gl/timegm.c b/gl/timegm.c index e5cf30c0..4c2615b9 100644 --- a/gl/timegm.c +++ b/gl/timegm.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. | 1 | /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. |
| 2 | 2 | ||
| 3 | Copyright (C) 1994-2024 Free Software Foundation, Inc. | 3 | Copyright (C) 1994-2025 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
| @@ -30,8 +30,7 @@ __time64_t | |||
| 30 | __timegm64 (struct tm *tmp) | 30 | __timegm64 (struct tm *tmp) |
| 31 | { | 31 | { |
| 32 | static mktime_offset_t gmtime_offset; | 32 | static mktime_offset_t gmtime_offset; |
| 33 | tmp->tm_isdst = 0; | 33 | return __mktime_internal (tmp, false, &gmtime_offset); |
| 34 | return __mktime_internal (tmp, __gmtime64_r, &gmtime_offset); | ||
| 35 | } | 34 | } |
| 36 | 35 | ||
| 37 | #if defined _LIBC && __TIMESIZE != 64 | 36 | #if defined _LIBC && __TIMESIZE != 64 |
