OpenGrok
Cross Reference: announce.c
xref
: /
src
/
libexec
/
talkd
/
announce.c
Home
|
History
|
Annotate
|
Download
|
only in
talkd
History log of
/src/libexec/talkd/announce.c
Revision
Date
Author
Comments
1.25
16-Mar-2009
lukem
fix WARNS=4 issues (const & type mismatches)
1.24
16-Mar-2009
lukem
ANSI KNF
1.23
04-Mar-2008
dholland
branches: 1.23.10;
'struct timezone' belongs in the dustbin of history.
1.22
04-Mar-2008
dholland
fix typo in comment
1.21
07-Aug-2003
agc
branches: 1.21.22; 1.21.28;
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
1.20
22-Apr-2003
itojun
backout 1.18 and 1.19
1.19
22-Apr-2003
itojun
free vis_user
1.18
22-Apr-2003
itojun
malloc vis_user (why 1.6 branch has the fix already?)
1.17
20-Nov-2002
itojun
verify strvis() buffer length is enough. make sure string termination before
use. remove extra ntohs() which is not needed. from Charles Blundell
1.16
25-Sep-2002
itojun
Allocate vis_user on the stack instead of using malloc(). This
way we don't have to worry about malloc() failure. Also closes
a memory leak since vis_user was never free()d. Lack of malloc()
checking pointed out by Peter Werner.
from openbsd
1.15
04-Mar-2002
enami
Lineup comment and remove unnecessary whitespaces.
1.14
04-Mar-2002
enami
Use \a instead of embedding raw control-G character.
1.13
17-Oct-2000
tv
Formatting nit: add a space.
1.12
10-Oct-2000
itojun
make sure big_buf is big enough to hold line terminations.
if all the lines have N_CHARS of characters, we will write up
N_CHARS * N_LINES + (3 + 2 * N_LINES) + 1
of bytes.
1.11
04-Jul-1998
mrg
branches: 1.11.2; 1.11.10;
- clean up some more cruft
- support "talkd -l" for extra (syslog(3)) logging
- fix error in previous announce.c change
- use getopt
- add (missing) -d and -l descriptions to man page
1.10
03-Jul-1998
mrg
- use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
1.9
01-Apr-1998
kleink
Need <time.h> for localtime() prototype.
1.8
29-Jun-1997
christos
- use ttymsg from libutil
- clean warnings
- PR/3778: Eric Fischer: talkd should find the least idle terminal
1.7
29-Jun-1997
christos
Merge in lite-2
1.6
17-Jul-1996
rat
Use snprintf(3) when printing into arrays allocated on the stack.
Patch submitted by David Holland <dholland@hcs.HARVARD.EDU>
1.5
07-Jun-1995
cgd
branches: 1.5.6;
typeof(timeval.tv_sec) != time_t
1.4
23-Dec-1994
cgd
stdlib.h for protos
1.3
21-Dec-1994
glass
vis(3)ify remote user name. Fixes bug 589. Fix basically as submitted by matthew green
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
29-Apr-1997
tls
Import from 4.4BSD-Lite2
1.1.1.2
29-Apr-1997
tls
Import from 4.4BSD-Lite
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.5.6.1
20-Jul-1996
jtc
Pulled up from rev 1.6 by request from rAT
1.11.10.1
17-Oct-2000
tv
Pullup 1.12 [itojun] and 1.13 [releng]:
make sure big_buf is big enough to hold line terminations.
if all the lines have N_CHARS of characters, we will write up
N_CHARS * N_LINES + (3 + 2 * N_LINES) + 1
of bytes.
1.11.2.1
11-Oct-2000
he
Pull up revision 1.12 (requested by itojun):
Make sure big_buf is big enough to hold output.
1.21.28.1
24-Mar-2008
keiichi
sync with head.
1.21.22.1
23-Mar-2008
matt
sync with HEAD
1.23.10.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
Indexes created Mon Oct 20 20:10:13 GMT 2025