Home | History | Annotate | Download | only in tip
History log of /src/usr.bin/tip/hunt.c
RevisionDateAuthorComments
 1.18  06-Sep-2011  joerg Use __dead. Make a bunch of local functions static.
 1.17  24-May-2011  joerg Properly use format string
 1.16  14-Dec-2006  christos pass lint; from Anon Ymous
 1.15  30-Apr-2006  christos Coverity CID 2972, 2973: Don't call close() with a negative fd.
 1.14  03-Apr-2006  christos Pass a little lint.
 1.13  03-Apr-2006  perry Remove support for uucp style locking.

This means we can get rid of the suid/sgid parts of the code (which
have been removed). The program is now installed with normal permissions.

To prevent accidents, we now flock the tty line, attempting to get an
exclusive lock.

Reviewed by: tls
 1.12  03-Apr-2006  perry ANSIfy decls, de-__P, clean trailing whitespace
 1.11  02-Apr-2006  tls If we might have two links, we'd better print our program name when we
emit an error -- and it would be nice if it were the *right* program name.
Since it's convenient, change most perror calls to warn, and a lot of
fprintf ... exit to errx. Fix at least one fprintf that could run off
the end of its arguments (%s but no argument, how did we never catch this?).
 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  12-Jul-1998  mrg - KNF
- use snprintf
- be safe with buffers (change prompt() to take a size_t len arg for this)
 1.8  22-Nov-1997  lukem WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage
 1.7  14-May-1997  mellon DC is not a user-settable variable, but was being partially confused with one
 1.6  20-Apr-1997  mellon Set O_NONBLOCK if dc flag is set. Don't set HUPCL if dc flag is set.
 1.5  29-Oct-1995  pk Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
 1.4  24-Dec-1994  cgd headers, casts, and use of time_t
 1.3  08-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  08-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