| #
08ac0fb3 |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: clean up comparison of word vectors
The function wordvcmp returned -1 when either of the word vectors was short; this made the function asymmetric. Since the function is only used to compare
error: clean up comparison of word vectors
The function wordvcmp returned -1 when either of the word vectors was short; this made the function asymmetric. Since the function is only used to compare two word vectors for equality, restrict it to this particular use case.
show more ...
|
| #
1f3ad203 |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: small cleanups
|
| #
55512687 |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: use separate tokens for characters, integers and pointers
Assisted by lint's queries 10, 14, 15.
No binary change.
|
| #
382be5b5 |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: enable lint's strict bool mode
This cleans up the inconsistencies between 'int', 'boolean' and 'bool'.
|
| #
9194f8e9 |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: remove redundant parentheses around return value
No binary change.
|
| #
fedbe6cb |
| 26-Aug-2023 |
rillig <rillig@NetBSD.org> |
error: fix lint warnings
|
| #
2e9df72e |
| 07-Apr-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments.
|
| #
69c3e9d2 |
| 13-Aug-2009 |
dholland <dholland@NetBSD.org> |
Pass WARNS=4, not without some gross preprocessor hackery. XXX: does this program actually do anything useful these days?
|
| #
e63a3e71 |
| 13-Aug-2009 |
dholland <dholland@NetBSD.org> |
Assorted minor cleanup: - use stdbool.h (partly) - move extern declarations of data to header files - use right types for calloc() wrapper - remove bogus casts on return values - remove exc
Assorted minor cleanup: - use stdbool.h (partly) - move extern declarations of data to header files - use right types for calloc() wrapper - remove bogus casts on return values - remove excessive Pascal-style parentheses in conditionals - a couple const fixes - fix some typos in comments
show more ...
|
| #
72efe4fb |
| 13-Aug-2009 |
dholland <dholland@NetBSD.org> |
Sprinkle const.
|
| #
f42113e3 |
| 13-Aug-2009 |
dholland <dholland@NetBSD.org> |
Whitespace.
|
| #
b74af21b |
| 13-Aug-2009 |
dholland <dholland@NetBSD.org> |
sprinkle static
|
| #
89aaa1bb |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| #
31d51579 |
| 14-Jul-2003 |
itojun <itojun@NetBSD.org> |
get rid of strsave(), use strdup directly
|
| #
d91f80a7 |
| 14-Jul-2003 |
itojun <itojun@NetBSD.org> |
the function is equivalent to strdup.
|
| #
eaf8f8a4 |
| 26-May-2002 |
wiz <wiz@NetBSD.org> |
Remove #ifndef'd __STDC__ code. ANSIfy.
|
| #
6941b7e8 |
| 15-Nov-2000 |
christos <christos@NetBSD.org> |
strcmp returns an int not a ptr so don't compare to NULL
|
| #
ec1d133c |
| 14-Jan-2000 |
mjl <mjl@NetBSD.org> |
Eliminate hard coded buffer sizes in fgets() statements, use strlcpy() to avoid buffer overflows, increase filename buffer to MAXPATHLEN. (from OpenBSD)
|
| #
32d3ded9 |
| 15-May-1999 |
christos <christos@NetBSD.org> |
Fix serious bug with string overruns that caused error to coredump randomly on NetBSD, and each time on other OS's. Also 0 -> NULL or 0 -> '\0' where appropriate.
|
| #
fcfb8607 |
| 15-May-1999 |
sommerfeld <sommerfeld@NetBSD.org> |
Don't assume isspace(0) == 1
|
| #
c3203395 |
| 06-Nov-1998 |
christos <christos@NetBSD.org> |
char -> unsigned char
|
| #
397a8a08 |
| 18-Oct-1997 |
lukem <lukem@NetBSD.org> |
WARNSify (big job!), fix .Nm usage
|
| #
49a4e143 |
| 10-Sep-1995 |
christos <christos@NetBSD.org> |
Handle long lines without core-dumping.
|
| #
71bb6dda |
| 02-Sep-1995 |
jtc <jtc@NetBSD.org> |
Sync with 4.4lite2
|
| #
e9d867ef |
| 01-Aug-1993 |
mycroft <mycroft@NetBSD.org> |
Add RCS identifiers.
|