summaryrefslogtreecommitdiffstats
path: root/src/lib9/fmt/fmt.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-26 23:07:37 +0000
committerrsc <devnull@localhost>2004-12-26 23:07:37 +0000
commitdf121a0027e6dc08abe6fc907c9af2593a263c17 (patch)
tree46d2da9546978f65073bab77217e3ce5d2dff544 /src/lib9/fmt/fmt.c
parenta76c0fd4a9a9a9a64893db614dd146a5819a6e0c (diff)
downloadplan9port-df121a0027e6dc08abe6fc907c9af2593a263c17.tar.gz
plan9port-df121a0027e6dc08abe6fc907c9af2593a263c17.zip
import changes from plan 9
Diffstat (limited to 'src/lib9/fmt/fmt.c')
-rw-r--r--src/lib9/fmt/fmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib9/fmt/fmt.c b/src/lib9/fmt/fmt.c
index f9d8328d..f785d48e 100644
--- a/src/lib9/fmt/fmt.c
+++ b/src/lib9/fmt/fmt.c
@@ -45,9 +45,13 @@ static Convfmt knownfmt[] = {
'-', __flagfmt,
'C', __runefmt, /* Plan 9 addition */
'E', __efgfmt,
+#ifndef PLAN9PORT
'F', __efgfmt, /* ANSI only */
+#endif
'G', __efgfmt,
+#ifndef PLAN9PORT
'L', __flagfmt, /* ANSI only */
+#endif
'S', __runesfmt, /* Plan 9 addition */
'X', __ifmt,
'b', __ifmt, /* Plan 9 addition */
@@ -57,7 +61,9 @@ static Convfmt knownfmt[] = {
'f', __efgfmt,
'g', __efgfmt,
'h', __flagfmt,
+#ifndef PLAN9PORT
'i', __ifmt, /* ANSI only */
+#endif
'l', __flagfmt,
'n', __countfmt,
'o', __ifmt,