Print this page
11972 resync smatch
*** 22,32 ****
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
TABLEDIR = ../praudit
PROG = auditreduce
SRCS = main.c option.c proc.c time.c token.c regex2.c $(TABLEDIR)/toktable.c
--- 22,32 ----
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2019 Joyent, Inc.
TABLEDIR = ../praudit
PROG = auditreduce
SRCS = main.c option.c proc.c time.c token.c regex2.c $(TABLEDIR)/toktable.c
*** 42,53 ****
LDLIBS += -lnsl -lbsm -lscf -ltsol
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
! # false positives / need cleanup
! SMOFF += indenting,no_if_block,strcpy_overflow
.KEEP_STATE:
all: $(PROG)
--- 42,53 ----
LDLIBS += -lnsl -lbsm -lscf -ltsol
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-parentheses
! # false positive
! SMOFF += strcpy_overflow
.KEEP_STATE:
all: $(PROG)