Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libdtrace uses the idiom len = snpri...
details: https://anonhg.NetBSD.org/src/rev/d49d6ee7bf3a
branches: trunk
changeset: 996654:d49d6ee7bf3a
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 06 04:23:16 2019 +0000
description:
uses the idiom len = snprintf(&tmp, 1, ...) to compute length.
needs -Wno-format-truncation
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 27522a74b7cc -r d49d6ee7bf3a external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Wed Feb 06 04:20:40 2019 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Wed Feb 06 04:23:16 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2018/06/07 13:21:44 kamil Exp $
+# $NetBSD: Makefile,v 1.20 2019/02/06 04:23:16 christos Exp $
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 314654 2017-03-04 11:30:04Z ngie $
@@ -105,6 +105,7 @@
CPPFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/arm
.PATH: ${.CURDIR}/../../dist/lib/libdtrace/arm
.endif
+COPTS.dt_link.c += -Wno-format-truncation
LFLAGS+=-l
Home |
Main Index |
Thread Index |
Old Index