History log of /freebsd-10.1-release/libexec/talkd/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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


262435 24-Feb-2014 brueffer

MFC: r262136

Remove the 3rd clause ("advertising clause") of the BSD license as
permitted by the University of Berkeley on July 22, 1999.

Reviewed by: imp


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


241777 20-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
- libexec/rpc.rusersd: Move shared globals into an extern.h.
- libexec/talkd: Move `debug' and `hostname' into extern.h.
- usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree.
- usr.bin/m4: Move `end_result' into extern.h.
- usr.sbin/services_mkdb: Move shared globals into an extern.h.


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.


202210 13-Jan-2010 ed

Port all apps in libexec/ from libulog to utmpx.


201380 02-Jan-2010 ed

Make WARNS=6 the default for libexec/.

Just like bin/ and sbin/, I think setting WARNS to the highest value
possible will make it more attractive for people to fix warnings.

- The WARNS variable is set in the Makefile in the directory of the
application itself, making it more likely that it will be removed out
of curiosity to see what happens.
- New applications will most likely build with WARNS=6 out of the box,
because the author would more likely fix the warnings during
development than lower WARNS.

Unfortunately almost all apps in libexec require a lowered value of
WARNS.


201022 26-Dec-2009 ed

Modify the sources to make WARNS=6 work.


201017 26-Dec-2009 ed

Unbreak the build.

I increased the WARNS, but it looks like it breaks certain architectures
with more strict alignment requirements (mips, sparc64, ia64).

Pointy hat to: me


200983 25-Dec-2009 ed

Let talkd use utmpx instead of utmp.

Because strings are null terminated now, there is no need to copy
ut_line into a separate buffer first. Also enable WARNS.


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


145967 06-May-2005 delphij

Prevent usage of nested externs.


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


119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


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


99500 06-Jul-2002 charnier

The .Nm utility


90868 18-Feb-2002 mike

o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on: alpha, i386
Reviewed by: bde, jake, tmm


90262 05-Feb-2002 imp

Fix minor disorder in functions declared in extern.h


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.


90164 04-Feb-2002 kris

Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean. Tested on i386 and alpha.


83244 09-Sep-2001 dd

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


80248 24-Jul-2001 kris

Save errno in signal handler

Obtained from: OpenBSD
MFC After: 1 week


79674 13-Jul-2001 brian

Print the month number properly

MFC after: 1 week


79529 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


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?).


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


68949 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


50533 28-Aug-1999 mpp

Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>


50476 28-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!


38024 02-Aug-1998 bde

Fixed printf format errors.


37262 29-Jun-1998 bde

Don't assume that time_t is long.


31978 24-Dec-1997 imp

sprintf->snprintf paranoia
Obtained from: OpenBSD (?)


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.


14783 24-Mar-1996 jkh

Here is a patch to talkd which makes it send the request to the tty with
the lowest idle time.
Submitted by: loodvrij@gridpoint.com (Bruce J. Keeler)


8870 30-May-1995 rgrimes

Remove trailing whitespace.


5111 15-Dec-1994 ache

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


3793 22-Oct-1994 ache

Implement security fix correctly: via isprint()


3791 22-Oct-1994 phk

A nice little security fix. Things must be rough in moscow...

Submitted by: dima@demos.su (Dima Ruban)


1875 05-Aug-1994 wollman

Update to new make macros and disable Kerberos because we haven't got it
set up right yet.


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.