Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/timed



Module Name:    src
Committed By:   cbiere
Date:           Sun Feb  4 21:17:01 UTC 2007

Modified Files:
        src/usr.sbin/timed/timed: measure.c readmsg.c timed-extern.h timed.c
        src/usr.sbin/timed/timedc: cmds.c timedc.8

Log Message:
 * 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.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/usr.sbin/timed/timed/measure.c
cvs rdiff -r1.20 -r1.21 src/usr.sbin/timed/timed/readmsg.c
cvs rdiff -r1.8 -r1.9 src/usr.sbin/timed/timed/timed-extern.h
cvs rdiff -r1.22 -r1.23 src/usr.sbin/timed/timed/timed.c
cvs rdiff -r1.22 -r1.23 src/usr.sbin/timed/timedc/cmds.c
cvs rdiff -r1.11 -r1.12 src/usr.sbin/timed/timedc/timedc.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index