History log of /freebsd-9.3-release/libexec/talkd/talkd.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)


# 130496 14-Jun-2004 bms

Whitespace.


# 130495 14-Jun-2004 bms

Do not depend on the global 'sockt' being initialized to 0;
instead, use the symbolic constant STDIN_FILENO, as this is
a daemon invoked from inetd.
Remove 'sockt' as it is not referenced.


# 120548 28-Sep-2003 tjr

Use the new style struct sockaddr instead of osockaddr in system calls
so that talkd works without COMPAT_43.

Obtained from: NetBSD (christos), Rumi Szabolcs


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


# 80248 24-Jul-2001 kris

Save errno in signal handler

Obtained from: OpenBSD
MFC After: 1 week


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 45422 07-Apr-1999 brian

Ensure that things returned by gethostname() and
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)

Prompted by: bde


# 41440 01-Dec-1998 dillon

Reviewed by: freebsd-current, freebsd-security

Removed getuid() root check so ntalkd can be run from a tty sandbox.
It isn't suid root anyway, who knows why the getuid() check was even
in there in the first place!


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


# 8870 30-May-1995 rgrimes

Remove trailing whitespace.


# 5111 14-Dec-1994 ache

Fix hostnames >32 chars
Submitted by: cstruble@singularity.bevc.blacksburg.va.us


# 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