History log of /netbsd-src/usr.bin/error/touch.c (Results 1 – 25 of 32)
Revision Date Author Comments
# 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


# d3062ef0 13-Oct-2019 christos <christos@NetBSD.org>

can't happen, but gcc can't figure it out.


# 560b3ec5 29-Feb-2012 joerg <joerg@NetBSD.org>

Don't use non-literal format strings. Split it up depending on the
number of arguments used.


# 48a41380 24-May-2011 joerg <joerg@NetBSD.org>

Simplify


# fdcc1029 21-May-2011 christos <christos@NetBSD.org>

use warn/err.


# 0be029e6 20-May-2011 christos <christos@NetBSD.org>

counting was off, and setting things to themselves does not work very welll.


# ec9611ac 19-May-2011 christos <christos@NetBSD.org>

- use getopt
- use err
- add -p <filelevel> to chop levels like patch
- document all the options


# 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 ...


# 7d59a3fe 13-Aug-2009 dholland <dholland@NetBSD.org>

pass -Wshadow


# 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


# 5d427989 05-Oct-2007 lukem <lukem@NetBSD.org>

Convert to raise_default_signal(3).


# 9159f5b2 19-Jul-2007 lukem <lukem@NetBSD.org>

Support an explicit Q_error return from inquire(), which is returned
if there was an error on reading the reply.
Stops an infinite loop if you ^D the query.


# 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.


# eaf8f8a4 26-May-2002 wiz <wiz@NetBSD.org>

Remove #ifndef'd __STDC__ code. ANSIfy.


# 4c999163 24-Sep-2001 wiz <wiz@NetBSD.org>

va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function

va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.

show more ...


# e0475d14 05-Feb-2001 christos <christos@NetBSD.org>

fix redundant and nested decls


# 135600f9 11-Oct-2000 is <is@NetBSD.org>

More format string cleanup by sommerfeld.


# 513b25c0 06-Nov-1999 kleink <kleink@NetBSD.org>

For temporary files' pathnames, check $TMPDIR before falling back to _PATH_TMP.


# e37e81a2 30-Mar-1998 mrg <mrg@NetBSD.org>

remove unused extern.


12