Files
RedBear-OS/tests
Josh Megnauth 090391d94f fix(strptime): Don't clobber struct tm
Our strptime implementation uses subformatting to handle specifiers that
expand to other specifiers. For example, '%T' expands to "%H:%M%:%S".
Relibc calls strptime again to handle '%T' by expanding it.

However, our strptime zeroes out struct tm which clobbers old values. If
strptime is called with a format string like "%D%t%T", the set values
for '%D' are clobbered.

Zeroing out the struct is extra, unneeded work as well. The user may
want to preserve old values. We don't read from struct tm so we don't
have to worry about invalid values. Finally, `musl` and `glibc` don't
clear the values either so we can default to their behavior.
2025-04-01 23:35:29 -04:00
..
2024-03-01 00:23:42 +00:00
2018-07-26 09:16:22 +02:00
2025-03-29 19:29:20 +00:00
2019-12-02 14:53:55 -05:00
2023-11-12 12:07:49 +01:00
2024-09-28 12:50:00 +00:00
2024-11-02 12:21:47 +00:00
2024-01-17 03:05:50 +00:00
2024-10-06 05:43:17 -07:00
2025-02-11 21:13:51 +01:00
2024-12-28 22:46:45 +00:00
2023-11-12 12:07:49 +01:00
2023-11-12 12:07:49 +01:00
2021-03-01 21:19:04 -07:00
2021-03-01 21:19:04 -07:00
2021-03-01 21:19:04 -07:00
2024-11-17 16:15:07 +00:00
2024-12-25 16:17:51 +11:00
2024-09-06 22:28:24 +02:00
2024-11-17 16:15:07 +00:00
2024-12-12 15:17:16 +00:00
2024-11-10 16:19:15 +01:00
2024-12-25 16:17:51 +11:00
2023-11-12 12:07:49 +01:00
2025-03-29 14:01:29 +00:00
2024-09-24 19:34:53 +02:00
2024-12-31 00:54:58 +11:00
2023-11-12 11:45:15 +01:00
2025-03-29 14:01:29 +00:00
2019-04-28 10:07:42 -06:00
2021-01-05 22:48:41 +01:00
2024-09-28 16:51:17 +02:00
2024-07-18 23:59:48 +02:00
2023-11-12 12:07:49 +01:00
2025-02-07 22:04:01 +00:00
2023-04-15 10:41:42 +01:00
2023-11-12 12:07:49 +01:00