Home | History | Annotate | only in /src/usr.bin/talk
History log of /src/usr.bin/talk
RevisionDateAuthorComments
 1.10 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.9 08-Feb-2020  fox usr.bin/talk: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to get_names.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
 1.8 06-Feb-2010  he branches: 1.8.46;
When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
 1.7 28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.6 08-Jan-2007  christos Introduce a TALKHOST environment variable to make talk work through NAT.
From Anon Ymous.
 1.5 18-Feb-1998  jtc Simply include -lcurses instead of -lcurses -ltermcap
 1.4 02-Feb-1998  christos Does not need -lcompat
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.46.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.10 20-Mar-2012  matt Use C89 function definitions
 1.9 06-Sep-2011  joerg branches: 1.9.2;
ANSIfy + __dead
 1.8 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.7 20-Mar-2004  christos branches: 1.7.42;
PR/24862: Peter Postma: From Andrey Matveev via OpenBSD:
1. use socklen_t instead of int
2. compare socket error return value to == -1 instead of <= 0
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.5 02-Mar-2000  christos Teach the socket code a few things about this decade (should fix the
problem where COMPAT_43 was required for it to work)
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.11 06-Sep-2011  joerg ANSIfy + __dead
 1.10 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.9 07-Aug-2003  agc branches: 1.9.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.8 23-Sep-2002  mycroft null commit
 1.7 23-Sep-2002  itojun poll.h, not sys/poll.h
 1.6 18-Sep-2002  mycroft select() -> poll()
 1.5 12-Jun-2001  wiz receive, not recieve
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9 06-Sep-2011  joerg ANSIfy + __dead
 1.8 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.7 07-Aug-2003  agc branches: 1.7.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.6 13-Aug-1999  proff ctrl-g is beep(), not "^G", damnit. strictly for the attention deprived.
 1.5 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.4 21-Apr-1997  is Use isprint() instead of hardcoded c<' '. This way, as soon as isprint() and
friends are localized, talk will be able to communicate in (e.g.) ISO-8859-1.
Patch by Matthias Scheler (PR bin/2874).
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.12 16-Jun-2015  christos fix some error handling.
 1.11 29-Dec-2012  christos - use warn/err
- if both users are on the same machine, use the loopback address. This
allows us to use talkd from inetd listening only to the loopback.
 1.10 06-Sep-2011  joerg branches: 1.10.2; 1.10.8;
ANSIfy + __dead
 1.9 31-Aug-2011  plunky NULL does not need a cast
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.6 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.5 26-Jul-1998  mycroft const poisoning.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.8.1 25-Feb-2013  tls resync with head
 1.10.2.1 23-Jan-2013  yamt sync with head
 1.16 29-Dec-2012  christos - use warn/err
- if both users are on the same machine, use the loopback address. This
allows us to use talkd from inetd listening only to the loopback.
 1.15 06-Sep-2011  joerg branches: 1.15.2; 1.15.8;
ANSIfy + __dead
 1.14 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.13 08-Jan-2007  christos branches: 1.13.20;
Introduce a TALKHOST environment variable to make talk work through NAT.
From Anon Ymous.
 1.12 17-Mar-2006  ginsbach Fix Coverity issue 1564, resource leak, dynamically allocated storage not
freed before function return.
 1.11 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.8 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.7 26-Jul-1998  mycroft const poisoning.
 1.6 06-Jul-1998  mrg - 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
 1.5 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.4 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.3 17-Apr-1994  deraadt don't trounce on argv[1]
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15.8.1 25-Feb-2013  tls resync with head
 1.15.2.1 23-Jan-2013  yamt sync with head
 1.12 06-Sep-2011  joerg ANSIfy + __dead
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.10 07-Dec-2001  blymn Changed deprecated curses function to the new equivalent.
 1.9 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.8 19-Dec-1998  christos sigvec->sigaction
 1.7 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.6 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.5 28-Mar-1994  cgd kill warning/error
 1.4 24-Jan-1994  cgd a core is a bad thing to drop; check NULL
 1.3 10-Aug-1993  mycroft Use termios rather than sgttyb.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10 29-Dec-2012  christos - use warn/err
- if both users are on the same machine, use the loopback address. This
allows us to use talkd from inetd listening only to the loopback.
 1.9 06-Sep-2011  joerg branches: 1.9.2; 1.9.8;
ANSIfy + __dead
 1.8 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.7 24-Sep-2005  christos branches: 1.7.30;
rename osockaddr to talkd_sockaddr and use that instead.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.5 06-Jan-2003  wiz interrupt with two rs.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9.8.1 25-Feb-2013  tls resync with head
 1.9.2.1 23-Jan-2013  yamt sync with head
 1.14 06-Sep-2011  joerg ANSIfy + __dead
 1.13 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.12 07-Oct-2006  elad branches: 1.12.26;
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.

Adapted to -current by myself, thanks for the patch!
 1.11 18-Mar-2006  ginsbach Fix Coverity CID 1248, negative return from read() passed() to write()
as a large unsigned value.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 06-Dec-2002  thorpej Avoid strict alias warning.
 1.8 23-Sep-2002  mycroft null commit
 1.7 23-Sep-2002  itojun poll.h, not sys/poll.h
 1.6 18-Sep-2002  mycroft select() -> poll()
 1.5 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.4 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.3 14-Aug-1993  mycroft #include <sys/ioctl.h>, to get FIONREAD.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.12.26.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.8 20-Mar-2012  matt Use C89 function definitions
 1.7 24-Sep-2005  christos branches: 1.7.44;
rename osockaddr to talkd_sockaddr and use that instead.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.5 27-Sep-2001  christos PR/5631: Rumi Szabolcs: Make talk work without COMPAT43.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.44.1 17-Apr-2012  yamt sync with head
 1.7 06-Sep-2011  joerg ANSIfy + __dead
 1.6 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.5 07-Aug-2003  agc branches: 1.5.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.9 08-Jan-2007  christos Introduce a TALKHOST environment variable to make talk work through NAT.
From Anon Ymous.
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7 30-Sep-2002  grant New sentence, new line.
 1.6 08-Dec-2001  wiz Drop a .Pp, sort sections.
 1.5 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8 06-Sep-2011  joerg ANSIfy + __dead
 1.7 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.6 07-Aug-2003  agc branches: 1.6.34;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.5 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.4 21-Apr-1997  is Use isprint() instead of hardcoded c<' '. This way, as soon as isprint() and
friends are localized, talk will be able to communicate in (e.g.) ISO-8859-1.
Patch by Matthias Scheler (PR bin/2874).
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.34.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9 06-Sep-2011  joerg ANSIfy + __dead
 1.8 13-Apr-2009  lukem Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wextra)
 1.7 07-Aug-2003  agc branches: 1.7.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.6 02-Mar-2000  christos Teach the socket code a few things about this decade (should fix the
problem where COMPAT_43 was required for it to work)
 1.5 26-Jul-1998  mycroft const poisoning.
 1.4 20-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, convert select to fd_set
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.3 09-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 09-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources

RSS XML Feed