diff options
author | das <das@FreeBSD.org> | 2004-06-05 09:32:17 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2004-06-05 09:32:17 +0000 |
commit | 56a075674a3ee797a6db77d7a59e38cca6b6fba0 (patch) | |
tree | ea6c8800ff92857c4ed6f1535263467cf4445382 | |
parent | bc0434bbb2d87832e7f6330bb260c1329b1f7e1f (diff) | |
download | FreeBSD-src-56a075674a3ee797a6db77d7a59e38cca6b6fba0.zip FreeBSD-src-56a075674a3ee797a6db77d7a59e38cca6b6fba0.tar.gz |
Enable support for the %a, %A, and %F format specifiers.
-rw-r--r-- | usr.bin/printf/printf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c index a99958e..58d2cca 100644 --- a/usr.bin/printf/printf.c +++ b/usr.bin/printf/printf.c @@ -272,7 +272,10 @@ next: for (start = fmt;; ++fmt) { PF(f, uval); break; } - case 'e': case 'E': case 'f': case 'g': case 'G': { + case 'e': case 'E': + case 'f': case 'F': + case 'g': case 'G': + case 'a': case 'A': { double p; if (getdouble(&p)) |