Files
coreutils/tests
Paul Eggert 91e95f1f86 printf: diagnose empty args correctly
Also, port better to macOS.
* src/printf.c (verify_numeric): Don’t assume that when s == end
then errno is zero; it is EINVAL on macOS, and POSIX allows this.
(print_direc): Treat missing arg as zero for numeric conversions,
and as an empty string for the others.
(print_formatted): Use null pointer, not an empty string,
to represent missing arg.
* tests/printf/printf.sh: Test empty and space widths and precisions.
2024-11-19 08:41:34 -08:00
..
2024-05-16 23:30:55 -07:00
2024-09-27 17:42:58 -07:00
2024-08-10 19:30:01 -07:00
2024-07-16 01:54:20 +00:00
2024-05-20 15:15:05 -07:00
2024-08-10 19:30:01 -07:00
2024-11-01 12:49:44 +00:00