Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so pretend we know about %# and %j...



details:   https://anonhg.NetBSD.org/src/rev/274184ef2656
branches:  trunk
changeset: 981269:274184ef2656
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 06 20:09:39 2021 +0000

description:
pretend we know about %# and %j...

diffstat:

 libexec/ld.elf_so/xprintf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r eabb14d0fd5b -r 274184ef2656 libexec/ld.elf_so/xprintf.c
--- a/libexec/ld.elf_so/xprintf.c       Sat Mar 06 19:51:24 2021 +0000
+++ b/libexec/ld.elf_so/xprintf.c       Sat Mar 06 20:09:39 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xprintf.c,v 1.22 2019/12/08 22:41:42 uwe Exp $  */
+/*     $NetBSD: xprintf.c,v 1.23 2021/03/06 20:09:39 christos Exp $     */
 
 /*
  * Copyright 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: xprintf.c,v 1.22 2019/12/08 22:41:42 uwe Exp $");
+__RCSID("$NetBSD: xprintf.c,v 1.23 2021/03/06 20:09:39 christos Exp $");
 #endif /* not lint */
 
 #include <string.h>
@@ -73,9 +73,11 @@
                                prec = va_arg(ap, int);
                                /* FALLTHROUGH */
                        case '.':
+                       case '#':
                                fmt++;
                                goto rflag;
                        case 'l':
+                       case 'j':
                                size |= SZ_LONG;
                                fmt++;
                                goto rflag;



Home | Main Index | Thread Index | Old Index