History log of /freebsd-9.3-release/libexec/talkd/announce.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 211056 08-Aug-2010 ed

Remove unneeded use of struct timezone.

We can safely call gettimeofday() without passing a struct timezone.
We're not using it at all.


# 177626 26-Mar-2008 brueffer

Fix some "in in" typos in comments.

PR: 121490
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by: rwatson (mentor), jkoshy
MFC after: 3 days


# 112998 03-Apr-2003 jmallett

MFp4 @27667: WARNS=5 cleanup on i386.
Remove the unused FILE\ *tf from print_mesg args, and the
bogus passing in of an uninitialised FILE* for it.

Call a timeval 'now' instead of 'clock' due to shadowing.

Remove a nested localtime declaration.

Make the delete invite argument match the ID type, u_int32_t.

Use const for pointers to const items.

Cast to long where printing as such.

Include netinet/in.h for htonl/htons.

Reviewed by: imp


# 90261 05-Feb-2002 imp

o Move externs to extern.h
o Use new-style prototypes exclusively rather than the old foo() style.
o Use new-style function definitions.
o remove register
o make functions passed to signal have the right signature.
o do minor const poisoning.


# 83244 09-Sep-2001 dd

Include ttymsg.h from ../../usr.bin/wall instead of rolling our own
prototype.


# 79674 13-Jul-2001 brian

Print the month number properly

MFC after: 1 week


# 77862 07-Jun-2001 dd

In the "Message from Talk_Daemon" announcement, print the date as well
as the current time. It's nice to know whether the talk request you
see was sent just a few minutes ago (assuming you didn't hear the
bell), or if it's been decaying for days (weeks?).


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 37262 29-Jun-1998 bde

Don't assume that time_t is long.


# 31491 02-Dec-1997 charnier

Use err(3). Add protos for -Wall.


# 22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21838 18-Jan-1997 pst

Fix buffer overrun problem.

Cannidate for: 2.2 [must]

Obtained from: Lite/2 and BSDI's published patch


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 18471 22-Sep-1996 wosch

add forgotten $Id$


# 18094 07-Sep-1996 peter

zap #include <sgtty.h>, it's not used.


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 1801 24-Jul-1994 phk

Reviewed by: phk
changed ^G to \007


# 1593 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1592,
which included commits to RCS files with non-trunk default branches.


# 1592 27-May-1994 rgrimes

BSD 4.4 Lite Libexec Sources