summaryrefslogtreecommitdiffstats
path: root/libexec/talkd
Commit message (Collapse)AuthorAgeFilesLines
* Fix some "in in" typos in comments.brueffer2008-03-261-1/+1
| | | | | | | PR: 121490 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> Approved by: rwatson (mentor), jkoshy MFC after: 3 days
* Prevent usage of nested externs.delphij2005-05-061-1/+2
|
* Whitespace.bms2004-06-141-3/+3
|
* Do not depend on the global 'sockt' being initialized to 0;bms2004-06-141-3/+2
| | | | | | instead, use the symbolic constant STDIN_FILENO, as this is a daemon invoked from inetd. Remove 'sockt' as it is not referenced.
* Use the new style struct sockaddr instead of osockaddr in system callstjr2003-09-281-4/+6
| | | | | | so that talkd works without COMPAT_43. Obtained from: NetBSD (christos), Rumi Szabolcs
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* MFp4 @27667: WARNS=5 cleanup on i386.jmallett2003-04-035-15/+17
| | | | | | | | | | | | | | | | | | | 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
* The .Nm utilitycharnier2002-07-061-2/+4
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix minor disorder in functions declared in extern.himp2002-02-051-1/+1
|
* o Move externs to extern.himp2002-02-056-65/+72
| | | | | | | | 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.
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-041-1/+2
| | | | are not yet warning-clean. Tested on i386 and alpha.
* Include ttymsg.h from ../../usr.bin/wall instead of rolling our owndd2001-09-092-1/+3
| | | | prototype.
* Save errno in signal handlerkris2001-07-241-0/+2
| | | | | Obtained from: OpenBSD MFC After: 1 week
* Print the month number properlybrian2001-07-131-1/+1
| | | | MFC after: 1 week
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* In the "Message from Talk_Daemon" announcement, print the date as welldd2001-06-071-2/+4
| | | | | | 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?).
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Add $FreeBSD$ lines to man pages that are missing them to make itmpp1999-08-281-0/+1
| | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* Ensure that things returned by gethostname() andbrian1999-04-071-3/+4
| | | | | | | | | | 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
* Reviewed by: freebsd-current, freebsd-securitydillon1998-12-011-1/+6
| | | | | | 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!
* Fixed printf format errors.bde1998-08-021-2/+2
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* sprintf->snprintf paranoiaimp1997-12-241-4/+4
| | | | Obtained from: OpenBSD (?)
* Use err(3). Add protos for -Wall.charnier1997-12-026-34/+73
|
* Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
|
* Fix buffer overrun problem.pst1997-01-182-15/+24
| | | | | | Cannidate for: 2.2 [must] Obtained from: Lite/2 and BSDI's published patch
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-146-6/+6
| | | | | | | | 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.
* add forgotten $Id$wosch1996-09-226-0/+11
|
* zap #include <sgtty.h>, it's not used.peter1996-09-071-1/+0
|
* Here is a patch to talkd which makes it send the request to the tty withjkh1996-03-241-5/+10
| | | | | the lowest idle time. Submitted by: loodvrij@gridpoint.com (Bruce J. Keeler)
* Remove trailing whitespace.rgrimes1995-05-304-9/+9
|
* Fix hostnames >32 charsache1994-12-151-1/+2
| | | | Submitted by: cstruble@singularity.bevc.blacksburg.va.us
* Implement security fix correctly: via isprint()ache1994-10-221-5/+8
|
* A nice little security fix. Things must be rough in moscow...phk1994-10-221-0/+5
| | | | Submitted by: dima@demos.su (Dima Ruban)
* Update to new make macros and disable Kerberos because we haven't got itwollman1994-08-051-1/+1
| | | | set up right yet.
* Reviewed by: phkphk1994-07-241-1/+1
| | | | changed ^G to \007
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-277-0/+907
OpenPOWER on IntegriCloud