diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-12-23 15:01:07 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-23 15:02:50 +0100 |
commit | 9702a7901e18460e8ffc5f56a493d41294a8e936 (patch) | |
tree | 0e7147c9c7e3d4cb14d3474c9dd947dcf64b38a9 /stdio-common/Makefile | |
parent | cd0c333d2ea82d0ae14719bdbef86d99615bdb00 (diff) | |
download | glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.zip glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.tar.gz glibc-9702a7901e18460e8ffc5f56a493d41294a8e936.tar.bz2 |
stdio: Implement %#m for vfprintf and related functions
%#m prints errno as an error constant if one is available, or
a decimal number as a fallback. This intends to address the gap
that strerrorname_np does not work well with printf for unknown
error codes due to its NULL return values in those cases.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r-- | stdio-common/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile index bbb3a2c..2024391 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -71,7 +71,9 @@ tests := tstscanf test_rdwr test-popen tstgetln test-fseek \ tst-printf-fp-free \ tst-printf-fp-leak \ test-strerr \ - tst-printf-binary + tst-printf-binary \ + tst-sprintf-errno \ + # tests test-srcs = tst-unbputc tst-printf tst-printfsz-islongdouble |