Andrew Kaster
353e72ac9b
LibC+Kernel: Remove global variable use from snprintf and fprintf
...
The global variable use in these functions is super thread-unsafe and
means that any concurrent calls to sprintf or fprintf in a process
could race with each other and end up writing unexpected results.
We can just replace the function + global variable with a lambda that
captures the relevant argument when calling printf_internal instead.
2022-02-09 06:22:33 +00:00
..
2022-01-23 22:45:21 +00:00
2022-02-03 16:11:26 +01:00
2022-02-03 23:33:20 +01:00
2022-02-06 17:52:33 +00:00
2022-02-07 13:02:34 +01:00
2022-01-21 16:27:21 +01:00
2022-02-04 21:34:12 +01:00
2022-02-05 22:50:39 +01:00
2022-02-05 18:13:02 +00:00
2022-02-03 23:33:20 +01:00
2022-01-30 16:21:59 +01:00
2022-02-03 23:33:20 +01:00
2022-02-07 13:18:13 +01:00
2022-02-03 16:11:26 +01:00
2022-02-03 23:33:20 +01:00
2022-02-07 13:02:34 +01:00
2022-01-30 16:21:59 +01:00
2022-01-18 21:00:46 +02:00
2022-02-03 16:11:26 +01:00
2022-02-04 21:34:12 +01:00
2022-02-02 18:26:59 +01:00
2022-02-02 18:26:59 +01:00
2022-01-12 16:09:09 +02:00
2022-01-29 16:45:39 +01:00
2022-02-03 16:11:26 +01:00
2022-02-04 21:34:12 +01:00
2021-12-30 14:16:03 +01:00
2022-01-12 16:09:09 +02:00
2022-02-09 06:22:33 +00:00
2022-01-29 23:01:23 +02:00
2022-01-30 16:21:59 +01:00
2022-01-24 10:41:47 +00:00
2021-12-30 18:10:51 +01:00
2022-01-06 22:34:11 +01:00
2022-01-21 19:34:10 +02:00
2022-01-30 16:21:59 +01:00
2022-01-12 16:09:09 +02:00
2022-01-12 16:09:09 +02:00
2022-01-30 16:21:59 +01:00
2022-01-29 16:45:39 +01:00
2021-12-30 14:32:17 +01:00
2022-01-30 16:21:59 +01:00
2022-01-29 02:17:09 +01:00
2022-01-24 22:36:09 +01:00
2022-01-07 10:56:59 +01:00
2021-12-30 14:32:17 +01:00
2022-01-30 16:21:59 +01:00
2022-01-30 16:21:59 +01:00
2022-01-30 16:21:59 +01:00
2022-01-30 16:21:59 +01:00
2022-02-03 23:33:20 +01:00
2022-01-30 16:21:59 +01:00
2022-01-30 16:21:59 +01:00
2021-12-30 14:32:17 +01:00
2022-02-03 16:11:26 +01:00
2021-12-30 14:32:17 +01:00