summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.printf.c
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
committermp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
commitbbd1addf8f9452690ad13ce5b875ee4cc9633958 (patch)
tree730792f0cc19f3bb4fb663fe727589381f5901be /contrib/tcsh/tc.printf.c
parentf2c2aa29b7d05c53575ab7ce4dc5870fd33a1310 (diff)
downloadFreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.zip
FreeBSD-src-bbd1addf8f9452690ad13ce5b875ee4cc9633958.tar.gz
Import of tcsh-6.13.00
Diffstat (limited to 'contrib/tcsh/tc.printf.c')
-rw-r--r--contrib/tcsh/tc.printf.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/tcsh/tc.printf.c b/contrib/tcsh/tc.printf.c
index a6f130a..f19ac55 100644
--- a/contrib/tcsh/tc.printf.c
+++ b/contrib/tcsh/tc.printf.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tc.printf.c,v 3.23 2002/03/08 17:36:47 christos Exp $ */
+/* $Header: /src/pub/tcsh/tc.printf.c,v 3.24 2003/12/02 17:59:30 christos Exp $ */
/*
* tc.printf.c: A public-domain, minimal printf/sprintf routine that prints
* through the putchar() routine. Feel free to use for
@@ -34,7 +34,7 @@
*/
#include "sh.h"
-RCSID("$Id: tc.printf.c,v 3.23 2002/03/08 17:36:47 christos Exp $")
+RCSID("$Id: tc.printf.c,v 3.24 2003/12/02 17:59:30 christos Exp $")
#ifdef lint
#undef va_arg
@@ -174,6 +174,11 @@ doprnt(addchar, sfmt, ap)
(*addchar) ((int) (' ' | attributes));
break;
+ case 'p':
+ do_long = 1;
+ hash = 1;
+ fmt = 'x';
+ /*FALLTHROUGH*/
case 'o':
case 'x':
case 'u':
OpenPOWER on IntegriCloud