Module Name:src
Committed By: rillig
Date: Tue Aug 17 22:29:11 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: extract suppress_messages from main
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.bi
Module Name:src
Committed By: rillig
Date: Tue Aug 17 21:19:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: sync usage message with reality
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.bin/xlint/lint1/main1.c
Plea
Module Name:src
Committed By: rillig
Date: Tue Aug 17 21:05:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: main1.c
Log Message:
lint: move GCC builtins into gcc_builtins
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bi
Module Name:src
Committed By: gson
Date: Tue Aug 17 07:18:43 UTC 2021
Modified Files:
src/usr.bin/progress: progress.c
Log Message:
Add missing check for error returns from read(). Found by inspection
while reviewing the changes suggested by RVP in PR install/56303, but
n
Module Name:src
Committed By: rillig
Date: Mon Aug 16 18:51:03 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove dead code from check_bad_enum_operation
There is a single caller of that function, and it checks the exact same
condition befo
Module Name:src
Committed By: rillig
Date: Sat Aug 14 14:43:30 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: add ARGSUSED for lint
To generate a diff of this commit:
cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/arch.c
Please note that diffs are n
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:39:43 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: fix spelling of CVS and RCS in error message
To generate a diff of this commit:
cvs rdiff -u -r1.562 -r1.563 src/usr.bin/make/parse.c
Ple
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:37:56 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: rename ParseMark to be more expressive
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.561 -r1.562 src/usr.bin/
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:32:12 UTC 2021
Modified Files:
src/usr.bin/make: main.c nonints.h parse.c
Log Message:
make: rename variable and function for handling parse errors
The word 'fatals' was an unnecessary abbreviation.
No functional c
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:26:07 UTC 2021
Modified Files:
src/usr.bin/make: arch.c
Log Message:
make: extract RanlibOODate into separate function
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 src/usr.
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:11:33 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove workaround for initialization bug in lint
The bug has been fixed in init.c 1.208 from 2021-08-14.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sat Aug 14 13:04:00 UTC 2021
Modified Files:
src/usr.bin/make: meta.c
Log Message:
make: fix lint warning about strchr removing 'const'
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/u
Module Name:src
Committed By: rillig
Date: Wed Aug 11 20:48:16 UTC 2021
Modified Files:
src/usr.bin/mkdep: findcc.c
Log Message:
mkdep: document possible undefined behavior
If findcc is called with a constant string, as its prototype suggests,
the process crashes with a s
Module Name:src
Committed By: rillig
Date: Wed Aug 11 05:37:45 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: main2.c
Log Message:
lint: add reminder to sort the output of lint2
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/xlint/lint2/main
Module Name:src
Committed By: rillig
Date: Tue Aug 10 19:52:14 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: remove redundant test for negative bit-field size
A bit-field can never have negative size. Its type is an unsigned
integer.
Strang
Module Name:src
Committed By: rillig
Date: Tue Aug 10 17:57:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: mem1.c
Log Message:
lint: remove redundant function prototypes
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/xlint/lint1/mem1.c
P
Module Name:src
Committed By: rillig
Date: Tue Aug 10 17:31:44 UTC 2021
Modified Files:
src/usr.bin/xlint/common: lint.h
src/usr.bin/xlint/lint1: mem1.c
src/usr.bin/xlint/lint2: externs2.h
Log Message:
lint: clean up comments
To generate a diff of this co
Module Name:src
Committed By: rillig
Date: Tue Aug 10 16:59:28 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: fix documentation of FARG and PUSH
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/xlint/lint1/ops.def
P
Module Name:src
Committed By: rillig
Date: Tue Aug 10 07:02:00 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: document the difference between FARG and PUSH
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/xlint/lint1
Module Name:src
Committed By: rillig
Date: Tue Aug 10 06:31:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ops.def
Log Message:
lint: document operator properties directly at the definition
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/x
Module Name:src
Committed By: rillig
Date: Mon Aug 9 21:27:20 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: remove commented-out preprocessor options
These have been commented out since 2002.
To generate a diff of this commit:
cvs rdiff -
Module Name:src
Committed By: rillig
Date: Mon Aug 9 20:52:24 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: pathnames.h
Log Message:
lint: remove unused pathname
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/xlint/xlint/pathnames.h
Please
Module Name:src
Committed By: gson
Date: Mon Aug 9 10:46:39 UTC 2021
Modified Files:
src/usr.bin/progress: progress.c
Log Message:
Test errno when the return value from wait() indicates an error, not
when it indicates success. PR install/56303.
To generate a diff of th
Module Name:src
Committed By: wiz
Date: Sun Aug 8 16:53:54 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1
Log Message:
Fix Dd argument.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/xlint/xlint/lint.1
Please note that diffs are not
Module Name:src
Committed By: rillig
Date: Sun Aug 8 16:19:18 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: group global variables by the subprocess
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/u
Module Name:src
Committed By: rillig
Date: Sun Aug 8 16:11:08 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: rename list_free to list_clear
The previous name suggested that the function would free the list
itself, which it doesn't.
To gene
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:59:32 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1
Log Message:
lint: update and proofread manual page
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/xlint/xlint/lint.1
Pleas
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:29:24 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1 xlint.c
Log Message:
lint: remove dead code for reading from stdin
Since xlint.c 1.27 from 2002-01-31, it has not been possible to read
from stdin anymo
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:06:44 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: inline list_add_defines
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/xlint/xlin
Module Name:src
Committed By: rillig
Date: Sun Aug 8 15:03:48 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: rename functions for handling string lists
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src
Module Name:src
Committed By: rillig
Date: Sun Aug 8 14:05:33 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make data flow in findlibs simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/usr.bin
Module Name:src
Committed By: rillig
Date: Sun Aug 8 13:34:57 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make memory management in xlint simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/us
Module Name:src
Committed By: rillig
Date: Sun Aug 8 12:00:30 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove redundant initialization in ApplyModifier_Order
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.945 -r1.94
Module Name:src
Committed By: rillig
Date: Sun Aug 8 11:56:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: Makefile chk.c read.c
Log Message:
lint: force strict bool mode
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.b
Module Name:src
Committed By: rillig
Date: Sun Aug 8 10:41:34 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: emit1.c
Log Message:
lint: condense code for writing the .ln files
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/us
Module Name:src
Committed By: rillig
Date: Sat Aug 7 17:38:41 UTC 2021
Modified Files:
src/usr.bin/xlint: Makefile.inc
src/usr.bin/xlint/lint1: Makefile
Log Message:
lint: clean gcov files for lint2 and xlint as well
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Thu Aug 5 06:54:16 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: fix type of local variable in inpqstrg
Noted by Clang-Tidy.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.b
Module Name:src
Committed By: rillig
Date: Thu Aug 5 06:45:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint2: read.c
Log Message:
lint: fix handling of __int128_t/__uint128_t in lint2
Previously, lint exited with "bad type: J u".
To generate a diff of this commit:
cv
Module Name:src
Committed By: chs
Date: Tue Aug 3 23:21:07 UTC 2021
Modified Files:
src/usr.bin/rlogin: rlogin.c
Log Message:
revert rev 1.45:
"PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB"
That change was trying to make rlogin work again a
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:44:59 UTC 2021
Modified Files:
src/usr.bin/xlint/common: emit.c externs.h tyname.c
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: clean up and move 'sametype'
This function is only used by lint1. That's
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:27:48 UTC 2021
Modified Files:
src/usr.bin/xlint/common: param.h
Log Message:
lint: reduce number of negations in preprocessor condition
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.8
Module Name:src
Committed By: rillig
Date: Tue Aug 3 17:20:02 UTC 2021
Modified Files:
src/usr.bin/xlint/common: mem.c
Log Message:
lint: make memory management code easier to read
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/
Module Name:src
Committed By: wiz
Date: Tue Aug 3 07:12:50 UTC 2021
Modified Files:
src/usr.bin/make: make.1
Log Message:
Document :On modifiers in more detail.
To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/usr.bin/make/make.1
Please note that dif
Module Name:src
Committed By: rillig
Date: Tue Aug 3 04:46:49 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: varmod-order-numeric.mk
varmod-order-reverse.mk varmod-order-shuffle.mk
varmod-order-string.mk varmod-order.exp varmod-order.mk
Log
Module Name:src
Committed By: rillig
Date: Mon Aug 2 20:58:39 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: oper.c
Log Message:
lint: expand abbreviations in definitions of operator properties
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: rillig
Date: Sun Aug 1 19:18:10 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: clean up debug logging in the C grammar
To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 src/usr.bin/xlint/lint1/cgr
Module Name:src
Committed By: rillig
Date: Sun Aug 1 19:11:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: debug.c externs1.h main1.c tree.c
Log Message:
lint: merge duplicate debugging code
The functions 'debug_node' and 'display_expression' were similar enough
to
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:37:29 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c externs1.h main1.c tree.c
Log Message:
lint: remove option -d, clean up debug logging
The command line option -d was not used by /usr/bin/lint, and it o
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:13:54 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/xlint: xlint.c
Log Message:
lint: make xasprintf simpler
No functional change.
To generate a diff of this commit:
Module Name:src
Committed By: rillig
Date: Sun Aug 1 18:07:35 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/lint1: mem1.c
Log Message:
lint: unexport nomem
No functional change.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: rillig
Date: Sun Aug 1 17:59:47 UTC 2021
Modified Files:
src/usr.bin/xlint/common: externs.h mem.c
src/usr.bin/xlint/lint1: mem1.c
src/usr.bin/xlint/lint2: mem2.c
Log Message:
lint: remove xmapalloc
Just trust the standard ma
Module Name:src
Committed By: andvar
Date: Sun Aug 1 15:52:11 UTC 2021
Modified Files:
src/usr.bin/crunch/crunchgen: crunchgen.1
Log Message:
fix syntax error and typo in overwritten.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/crunch/crunc
Module Name:src
Committed By: rillig
Date: Sun Aug 1 14:45:40 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: remove unreachable code from usual arithmetic conversions
To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/usr.bi
Module Name:src
Committed By: rillig
Date: Sun Aug 1 08:03:43 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c lint1.h
Log Message:
lint: remove hash value from symbol buffer
Conceptually, a symbol buffer does not need to remember its hash value
since that belongs
Module Name:src
Committed By: rillig
Date: Sun Aug 1 07:46:51 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: merge duplicate code for removing a symbol from the table
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Sun Aug 1 06:58:58 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: extract duplicate code for modifying the symbol table
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -
Module Name:src
Committed By: rillig
Date: Sun Aug 1 06:40:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y decl.c func.c lex.c main1.c
Log Message:
lint: add debug logging for symbol table, clean up debug logging
When I tried to fix msg_115, I quickly ran in
Module Name:src
Committed By: rillig
Date: Sat Jul 31 19:20:59 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: initialize shared types in the same order as in tspec_t
This makes it easier to see whether there are any types missing, such as
__ui
Module Name:src
Committed By: rillig
Date: Sat Jul 31 19:12:35 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: externs1.h
Log Message:
lint: do not evaluate arguments of debug_step
To analyze the unexpected test failure of op_shl_lp64, I had reverted
debug_step to evalu
Module Name:src
Committed By: rillig
Date: Sat Jul 31 19:07:52 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c err.c externs1.h func.c init.c lex.c
main1.c
Log Message:
lint: clean up debug logging
The calls to debug_step, unlike printf, don't need a
Module Name:src
Committed By: rillig
Date: Sat Jul 31 18:16:42 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: Makefile externs1.h init.c tree.c
Added Files:
src/usr.bin/xlint/lint1: debug.c
Log Message:
lint: extract debug logging to separate file
Lint currentl
Module Name:src
Committed By: rillig
Date: Sat Jul 31 17:09:21 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: Makefile cgram.y decl.c externs1.h
Log Message:
lint: add debugging output for the grammar tokens
No functional change outside debug mode.
To generate a diff
Module Name:src
Committed By: rillig
Date: Sat Jul 31 13:47:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: reduce indentation in 'search'
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/xlint
Module Name:src
Committed By: rillig
Date: Sat Jul 31 11:37:54 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
lint: in has_constant_member, don't reuse variables
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.320 -r1.321
Module Name:src
Committed By: rillig
Date: Sat Jul 31 11:03:04 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c externs1.h func.c init.c lint1.h tree.c
Log Message:
lint: merge duplicate code for generating unqualified type
This is a preparation for fixing the wro
Module Name:src
Committed By: rillig
Date: Sat Jul 31 09:30:17 UTC 2021
Modified Files:
src/usr.bin/make: Makefile make.h suff.c var.c
src/usr.bin/make/filemon: filemon_ktrace.c
Log Message:
make: fix lint warnings
The string functions from str.h are declared as '
Module Name:src
Committed By: rillig
Date: Sat Jul 31 00:17:05 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: clean up ApplyModifier_Order
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.943 -r1.944 src/usr.bin/make/var.c
Module Name:src
Committed By: rillig
Date: Fri Jul 30 23:35:38 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: reword comment for ApplyModifier_Order
To generate a diff of this commit:
cvs rdiff -u -r1.942 -r1.943 src/usr.bin/make/var.c
Please note t
Module Name:src
Committed By: rillig
Date: Fri Jul 30 23:28:04 UTC 2021
Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Log Message:
make: handle parse errors in ':O' uniformly
Previ
Module Name:src
Committed By: rillig
Date: Fri Jul 30 22:19:51 UTC 2021
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: merge duplicate code for sorting strings and numbers
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.940 -r1.941
Module Name:src
Committed By: rillig
Date: Fri Jul 30 22:16:09 UTC 2021
Modified Files:
src/usr.bin/make: make.1 var.c
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Log Message:
make: fix typo in manual page, add more tes
Module Name:src
Committed By: sjg
Date: Fri Jul 30 19:55:22 UTC 2021
Modified Files:
src/usr.bin/make: make.1 var.c
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: varmod-order-numeric.exp
varmod-order-numeric.mk
Module Name:src
Committed By: rillig
Date: Thu Jul 29 06:35:21 UTC 2021
Modified Files:
src/usr.bin/make: cond.c
Log Message:
make: in TryParseNumber, reset errno as late as possible
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 s
Module Name:src
Committed By: rillig
Date: Thu Jul 29 06:31:18 UTC 2021
Modified Files:
src/usr.bin/make/unit-tests: cond-cmp-numeric.exp cond-cmp-numeric.mk
Log Message:
tests/make: test spaces around numbers in comparisons
Just to see whether it is possible to write a c
Module Name:src
Committed By: rillig
Date: Tue Jul 27 05:52:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: inline align_as in the grammar
This saves 500 bytes in the resulting binary.
No functional change.
To generate a diff of this com
Module Name:src
Committed By: rillig
Date: Tue Jul 27 05:42:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: provide a direct link to the documentation
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.349 -r1.350 s
Module Name:src
Committed By: rillig
Date: Mon Jul 26 17:15:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: remove redundant associativity declarations
Since cgram.y 1.325 from 2021-07-15, these are not needed anymore.
Strangely, neither ya
Module Name:src
Committed By: rillig
Date: Mon Jul 26 16:22:24 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: ckbool.c
Log Message:
lint: make typeok_scalar_strict_bool simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.
Module Name:src
Committed By: rillig
Date: Sun Jul 25 22:14:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: Makefile decl.c externs1.h
Removed Files:
src/usr.bin/xlint/lint1: print.c
Log Message:
lint: move scl_name from print.c to decl.c
It is only needed th
Module Name:src
Committed By: rillig
Date: Sun Jul 25 21:31:01 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: revert previous commit; it didn't improve readability
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.34
Module Name:src
Committed By: rillig
Date: Sun Jul 25 19:57:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: merge duplicate code for abstract_declaration
No functional change; same code coverage outside of cgram.y.
To generate a diff of t
Module Name:src
Committed By: rillig
Date: Sun Jul 25 19:27:26 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: resolve conflicts in begin_type_specifier_qualifier_list
The 9 shift/reduce conflicts were all internal to the grammar rule
begin_ty
Module Name:src
Committed By: rillig
Date: Sun Jul 25 18:01:03 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: add citations for a few grammar rules
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/us
Module Name:src
Committed By: rillig
Date: Sun Jul 25 16:57:23 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: wrap overly long lines
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.337 -r1.338 src/usr.bin/xlint/lin
Module Name:src
Committed By: simonb
Date: Sat Jul 24 13:42:05 UTC 2021
Modified Files:
src/usr.bin/systat: vmstat.c
Log Message:
Instead of getting an estimate of the number of kernel buffers,
allocating memory for them, requesting all the metadata contents of
these buffe
Module Name:src
Committed By: rillig
Date: Fri Jul 23 17:06:37 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: func.c lint1.h
Log Message:
lint: rename cstk_t to control_statement
Rename the variables as well. Their previous name 'ci' was not easy to
understand, the 'i
Module Name:src
Committed By: rillig
Date: Fri Jul 23 16:48:48 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c lint1.h
Log Message:
lint: remove a few unnecessary abbreviations
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.20
Module Name:src
Committed By: rillig
Date: Fri Jul 23 16:43:11 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c lint1.h
Log Message:
lint: make offset and alignment positive numbers
There's no use case for negative alignment or offsets in structures.
No functiona
Module Name:src
Committed By: rillig
Date: Fri Jul 23 15:36:57 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: lex.c
Log Message:
lint: write canonical form of keywords
For keywords that have a single spelling variant (such as __packed),
write this form in the source, t
Module Name:src
Committed By: rillig
Date: Fri Jul 23 15:14:49 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: move single semicolon to external_declaration
This aligns more closely with the grammar from GCC's parser. The global
cleanup from
Module Name:src
Committed By: martin
Date: Fri Jul 23 04:20:05 UTC 2021
Modified Files:
src/usr.bin/ldd: ldd.c
Log Message:
gcc hates strncpy()
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/ldd/ldd.c
Please note that diffs are not public doma
Module Name:src
Committed By: christos
Date: Thu Jul 22 17:39:53 UTC 2021
Modified Files:
src/usr.bin/ldd: ldd.c ldd.h ldd_elfxx.c
Log Message:
rtld expects an absolute path in execname provided via AUXV in order to
handle $ORIGIN properly and checks for that. Since we are
Module Name:src
Committed By: rillig
Date: Wed Jul 21 21:24:45 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: move assignments to $$ at the end of the action
They are closely related to return statements.
While here, add some more remarks fr
Module Name:src
Committed By: rillig
Date: Wed Jul 21 21:11:19 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
lint: remove unnecessary assertion for type qualifier
If there is any new type qualifier that lint should support (such as
_Atomic from C1
Module Name:src
Committed By: rillig
Date: Tue Jul 20 19:44:36 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h init.c tree.c
Log Message:
lint: use consistent naming scheme for functions that build nodes
No functional change.
To generate a diff of t
Module Name:src
Committed By: rillig
Date: Tue Jul 20 19:35:53 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h func.c init.c tree.c
Log Message:
lint: split 'build' into build_binary and build_unary
No functional change.
To generate a diff of this c
Module Name:src
Committed By: rillig
Date: Tue Jul 20 18:43:06 UTC 2021
Modified Files:
src/usr.bin/xlint/arch/aarch64: targparam.h
Log Message:
lint: make char unsigned on aarch64
This fixes tests msg_074 and msg_076, which previously warned for
'\xff': conversion of 'in
Module Name:src
Committed By: nia
Date: Sun Jul 18 11:45:31 UTC 2021
Modified Files:
src/usr.bin/aiomixer: main.c
Log Message:
aiomixer: Honor terminal colors. Looks better in cool-retro-term.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/aiomix
Module Name:src
Committed By: rillig
Date: Thu Jul 15 23:54:22 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: reduce verboseness of merge_signedness
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/us
Module Name:src
Committed By: rillig
Date: Thu Jul 15 23:47:00 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: decl.c
Log Message:
lint: rename merge_type_specifiers to merge_signedness
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.
1 - 100 of 6777 matches
Mail list logo