Home | History | Annotate | Download | only in write
History log of /src/usr.bin/write/write.c
RevisionDateAuthorComments
 1.27  06-Sep-2011  joerg static + __dead
 1.26  31-Aug-2011  plunky NULL does not need a cast
 1.25  21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.24  17-Jun-2006  elad branches: 1.24.20;
strncpy -> strlcpy
 1.23  07-Aug-2003  agc branches: 1.23.12;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.22  20-Apr-2003  christos separate the term check stuff.
 1.21  16-Aug-2002  itojun defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev. revoke setuid/gid privs earlier.
From: xs@kittenz.org
 1.20  02-Aug-2002  christos utmpx support.
 1.19  03-Jan-2001  mjl un__Pify, ANSIfy and constify.
 1.18  03-Jan-2001  mjl /dev -> _PATH_DEV
 1.17  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.16  09-Nov-1999  drochner Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
 1.15  20-Dec-1998  christos branches: 1.15.6;
char -> unsigned char
 1.14  25-Aug-1998  ross Add { and } to shut up egcs. Reformat the more questionable code.
 1.13  26-Jul-1998  mycroft const poisoning.
 1.12  06-Jul-1998  mrg KNF. use S_IWGRP instead of homegrown crap. ensure tty buffer is nul-terminated.
 1.11  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.10  20-Oct-1997  lukem deprecate register
 1.9  19-Oct-1997  mrg WARNSify; clean up .Nm
 1.8  11-Feb-1997  mrg remove possibly dangerous sprintf and strcpy calls.
 1.7  20-Jan-1997  explorer sprintf -> snprintf, from David A. Holland <dholland@eecs.harvard.edu>
 1.6  17-Jan-1997  perry fix write to print a warning if the sender has "mesg n" set, instead
of dying with an error. From Mark Weaver
closes pr-355, per thorpej
 1.5  31-Aug-1995  jtc branches: 1.5.6;
sync with 4.4lite2
 1.4  21-Dec-1994  jtc misc cleanup by jimj and myself.
 1.3  19-Sep-1994  mycroft Update to 4.4-Lite version, converted to use err*(3) and warn*(3).
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  31-Aug-1995  jtc imported from 44lite2
 1.1.1.2  19-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.6.1  26-Jan-1997  rat Pullup 1.6 -> 1.7 by request from Michael Graff. Fixes a security bug
in which write could be fooled into giving away "tty".
 1.15.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.23.12.1  19-Jun-2006  chap Sync with head.
 1.24.20.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed