History log of /netbsd-src/usr.bin/write/write.c (Results 1 – 25 of 27)
Revision Date Author Comments
# 48ed0846 06-Sep-2011 joerg <joerg@NetBSD.org>

static + __dead


# 9f61b804 31-Aug-2011 plunky <plunky@NetBSD.org>

NULL does not need a cast


# 98e5374c 21-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.


# 1b28df2f 17-Jun-2006 elad <elad@NetBSD.org>

strncpy -> strlcpy


# 89aaa1bb 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.


# 73b3e2ae 20-Apr-2003 christos <christos@NetBSD.org>

separate the term check stuff.


# 2abe3770 16-Aug-2002 itojun <itojun@NetBSD.org>

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


# c020d65e 02-Aug-2002 christos <christos@NetBSD.org>

utmpx support.


# e1d9ba79 03-Jan-2001 mjl <mjl@NetBSD.org>

un__Pify, ANSIfy and constify.


# a6403615 03-Jan-2001 mjl <mjl@NetBSD.org>

/dev -> _PATH_DEV


# fcd0fb11 03-Jul-2000 matt <matt@NetBSD.org>

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


# 85cbf55d 09-Nov-1999 drochner <drochner@NetBSD.org>

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.


# 18d277be 20-Dec-1998 christos <christos@NetBSD.org>

char -> unsigned char


# f670fa10 25-Aug-1998 ross <ross@NetBSD.org>

Add { and } to shut up egcs. Reformat the more questionable code.


# af26acbc 26-Jul-1998 mycroft <mycroft@NetBSD.org>

const poisoning.


# 448f5de7 06-Jul-1998 mrg <mrg@NetBSD.org>

KNF. use S_IWGRP instead of homegrown crap. ensure tty buffer is nul-terminated.


# 32f51971 06-Jul-1998 mrg <mrg@NetBSD.org>

- 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

- 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

show more ...


# f4100846 20-Oct-1997 lukem <lukem@NetBSD.org>

deprecate register


# 658077db 19-Oct-1997 mrg <mrg@NetBSD.org>

WARNSify; clean up .Nm


# a4d8e690 11-Feb-1997 mrg <mrg@NetBSD.org>

remove possibly dangerous sprintf and strcpy calls.


# 8b5cdff5 20-Jan-1997 explorer <explorer@NetBSD.org>

sprintf -> snprintf, from David A. Holland <dholland@eecs.harvard.edu>


# 9cb735d2 17-Jan-1997 perry <perry@NetBSD.org>

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


# 5a441adf 31-Aug-1995 jtc <jtc@NetBSD.org>

sync with 4.4lite2


# 5720e226 21-Dec-1994 jtc <jtc@NetBSD.org>

misc cleanup by jimj and myself.


# 180e70c1 19-Sep-1994 mycroft <mycroft@NetBSD.org>

Update to 4.4-Lite version, converted to use err*(3) and warn*(3).


12