#
715951d5 |
| 16-Oct-2022 |
rillig <rillig@NetBSD.org> |
timed: fix typos in comments, remove trailing whitespace
|
#
b7b08dae |
| 16-Oct-2022 |
rillig <rillig@NetBSD.org> |
timed: remove unhandled getopt option -P
No functional change, due to 'opterr = 0'.
|
#
e4058a3b |
| 31-Oct-2021 |
nia <nia@NetBSD.org> |
timed(8): avoid hand-rolling arc4random_uniform
|
#
c274a985 |
| 04-Feb-2018 |
mrg <mrg@NetBSD.org> |
fixes for GCC 6.4:
mail's execute() needs a volatile for setjmp().
telnet has a missing {} issue.
isdnd's print_config() has a missing/wrong {} issue, and its p_q931bc() has inconsistent indentati
fixes for GCC 6.4:
mail's execute() needs a volatile for setjmp().
telnet has a missing {} issue.
isdnd's print_config() has a missing/wrong {} issue, and its p_q931bc() has inconsistent indentation (but not any actual problem.)
map-mbone's accept_neighbors2() compares a vs. a instead of a vs. b.
sysinst's pm_cgd_check() has missing {} issue.
timed's main() has missing {} issue.
show more ...
|
#
18945454 |
| 16-Jun-2015 |
christos <christos@NetBSD.org> |
improve error messages (remove \n, use __func__, etc)
|
#
9c194566 |
| 21-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
#
2ed96b75 |
| 04-Feb-2007 |
cbiere <cbiere@NetBSD.org> |
* timed and timedc: * Sprinkle const. * Use EXIT_FAILURE instead of 1. * Use err(), errx(). * Use calloc() instead of malloc()+memset(). * timedc: * Non-terminated hostnames or unknow
* timed and timedc: * Sprinkle const. * Use EXIT_FAILURE instead of 1. * Use err(), errx(). * Use calloc() instead of malloc()+memset(). * timedc: * Non-terminated hostnames or unknown tsp_type could cause a crash due to out-of-bounds reads in msite(). * Check the received packet size. * Merged duplicated code into functions. * Moved variables into the relevant scopes. * Use connect() so that only the receiver can reply, send()/recv() can be used and rejected packets are immediately noticed by recv() instead of causing timeouts. * Updated manpage.
show more ...
|
#
07807b36 |
| 26-Jan-2007 |
christos <christos@NetBSD.org> |
- centralize sendto tsp - cleanup some casts
|
#
07c9d403 |
| 25-Jan-2007 |
cbiere <cbiere@NetBSD.org> |
* Modified in_cksum() so it can handle unaligned data. * Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because strlcpy() could potentially run out-of-bounds and doesn't zero out
* Modified in_cksum() so it can handle unaligned data. * Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because strlcpy() could potentially run out-of-bounds and doesn't zero out unused buffer space. * Replaced bcopy/bzero() with memcpy/memset(). * Fixed potential alignment/aliasing issues in measure(). * Replace u_short/u_long with uint16_t/uint32_t/in_addr_t where appropriate. * Renamed sin to addr because sin is a reserved identifier. * Use bindresvport() instead of looping over bind(); rresvport() returns a SOCK_STREAM socket not SOCK_DGRAM.
show more ...
|
#
9cdb3caf |
| 06-Feb-2005 |
perry <perry@NetBSD.org> |
remove obsolete register declarations.
|
#
757e4585 |
| 18-Aug-2003 |
itojun <itojun@NetBSD.org> |
SIOCGIFCONF -> getifaddrs conversion
|
#
326b2259 |
| 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 22366, verified by myself.
|
#
bd26fba3 |
| 16-May-2003 |
itojun <itojun@NetBSD.org> |
avoid possible buffer overrun
|
#
babf9fcd |
| 10-Jul-2002 |
wiz <wiz@NetBSD.org> |
Make compile with -DHAVENIS. Also make compile with WARNS=2, and set WARNS=2 in Makefile.
|
#
0fb8fdab |
| 06-Jul-2002 |
wiz <wiz@NetBSD.org> |
ANSIfy, remove __P().
|
#
46c82860 |
| 23-Jun-2002 |
perry <perry@NetBSD.org> |
Fix a variable initializer where CLK_TCK was assumed to be a compile time constant. Soon it won't be.
|
#
ec98fbc0 |
| 02-Sep-2001 |
reinoud <reinoud@NetBSD.org> |
Code cleanup; remove all `#ifdef sgi' from the code... this clobbered the code considerably and was mainly providing SGI specific logging facilities and some hacks to improve the relyablility on SGI
Code cleanup; remove all `#ifdef sgi' from the code... this clobbered the code considerably and was mainly providing SGI specific logging facilities and some hacks to improve the relyablility on SGI systems by increasing priorities etc...
show more ...
|
#
cb4cea71 |
| 11-Jan-2001 |
lukem <lukem@NetBSD.org> |
don't use LOG_CONS
|
#
bcd46591 |
| 06-Jun-1999 |
thorpej <thorpej@NetBSD.org> |
Use pidfile(3).
|
#
32f51971 |
| 06-Jul-1998 |
mrg <mrg@NetBSD.org> |
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
show more ...
|
#
31bc9c50 |
| 17-Oct-1997 |
lukem <lukem@NetBSD.org> |
WARNSify
|
#
18b882a9 |
| 17-Oct-1997 |
mrg <mrg@NetBSD.org> |
merge lite-2
|
#
94a7999e |
| 25-Nov-1996 |
thorpej <thorpej@NetBSD.org> |
Fix byte-order bug in net number comparison. From Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>, PR #2961.
|
#
d907c076 |
| 30-Mar-1996 |
mark <mark@NetBSD.org> |
Use an integer instead of a char to store the getopt() return value in order to match the function prototype and to work with compilers that default to unsigned chars. Compare the getopt() return val
Use an integer instead of a char to store the getopt() return value in order to match the function prototype and to work with compilers that default to unsigned chars. Compare the getopt() return value with -1 instead of EOF.
show more ...
|
#
29d4fed1 |
| 07-Jun-1995 |
cgd <cgd@NetBSD.org> |
typeof(timeval.tv_sec) != time_t
|