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/4acff53ecd05
branches: trunk
changeset: 960045:4acff53ecd05
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 c3eab099aa4c -r 4acff53ecd05 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