Josh Megnauth
728fb55203
Add %m to printf & fix CI
...
%m is a format specifier that prints an error string for errno. The
specifier is technically only for syslog, but musl and glibc implement
it for printf itself. Parsing for a single specifier in a single
function is error prone, especially when syslog itself is variadic.
2025-08-06 02:38:47 -04:00
GrayJack
c7d94ae4d7
feat(c23): Implement %b and %B format
2025-03-22 20:15:56 -03:00
Peter Limkilde Svendsen
aec4a84e90
Include stdlib.h so free() can be used
2020-08-20 20:43:28 +02:00
jD91mZM2
72532b8280
Fix printf issue found in GDB
2020-08-05 16:49:10 +02:00
jD91mZM2
29ad5b75c9
Fix broken CVec
...
Oops, forgot to initiate the pointer after uses of CVec::new()
2020-06-29 21:03:29 +02:00
Peter Limkilde Svendsen
74555698fb
Handle infinity and NaN in printf
2019-12-05 01:37:17 +00:00
jD91mZM2
57917c0e92
Fix various floating point issues in printf
2019-07-11 18:09:37 +02:00
jD91mZM2
8fca7bcbc1
More printf tests and corner cases
2019-04-23 08:15:58 +02:00
jD91mZM2
0a0aec502b
Fix #140
2019-04-23 07:34:06 +02:00
Tibor Nagy
9a0ea6ff34
tests: More refactoring, add helper header to every test, override exit for better error reporting
2019-02-21 21:13:28 +01:00
Tibor Nagy
4381bb2a22
tests: Remove redundant return statements
...
When the execution reaches the end of the main functions, they implicitly return a successful status.
2019-02-20 21:09:03 +01:00
Tibor Nagy
c19cc8b731
tests: Portability fixes, replaced 0/1/-1 return codes with macros
2019-02-20 20:20:07 +01:00
Tibor Nagy
ff874c87d7
tests: Fix function signatures
2019-02-20 19:27:18 +01:00
jD91mZM2
63882684b2
Implement almost all of printf
2018-10-13 14:20:54 +02:00
jD91mZM2
40a7380a58
Fix snprintf and make strftime use a counting writer
2018-08-07 21:31:05 +02:00
jD91mZM2
67d5976622
Clean up tests
2018-07-22 11:24:50 +02:00