Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/printf support grouping format.



details:   https://anonhg.NetBSD.org/src/rev/cfa3c185ee70
branches:  trunk
changeset: 763267:cfa3c185ee70
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 15 23:11:49 2011 +0000

description:
support grouping format.

diffstat:

 usr.bin/printf/printf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0e28334ce7ec -r cfa3c185ee70 usr.bin/printf/printf.c
--- a/usr.bin/printf/printf.c   Tue Mar 15 22:53:41 2011 +0000
+++ b/usr.bin/printf/printf.c   Tue Mar 15 23:11:49 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printf.c,v 1.34 2009/10/13 19:28:31 christos Exp $     */
+/*     $NetBSD: printf.c,v 1.35 2011/03/15 23:11:49 christos Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)printf.c   8.2 (Berkeley) 3/22/95";
 #else
-__RCSID("$NetBSD: printf.c,v 1.34 2009/10/13 19:28:31 christos Exp $");
+__RCSID("$NetBSD: printf.c,v 1.35 2011/03/15 23:11:49 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -154,7 +154,7 @@
        format = *argv;
        gargv = ++argv;
 
-#define SKIP1  "#-+ 0"
+#define SKIP1  "#-+ 0'"
 #define SKIP2  "0123456789"
        do {
                /*



Home | Main Index | Thread Index | Old Index