imp
0594a88b7e
make prototpyes match functions, and declare things static as needed
2003-04-06 08:30:25 +00:00
ru
bbb36710e2
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
ru
88d368906e
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
ru
b25f75362b
tip(1) no longer uses modems(5).
...
Reviewed by: markm
Approved by: re
2002-11-27 09:18:59 +00:00
ru
9254b8ff8e
Really merge from OpenBSD import (should have been done a year ago).
...
Reviewed by: markm
Approved by: re
2002-11-27 09:18:28 +00:00
markm
9d7bbb1944
Merge from import. The import was done ages ago, and this diff has been
...
carried since then.
2002-07-19 14:10:35 +00:00
ru
87e1c8a32e
Make dirty, rotten hack really work. As of rev. 1.16, ${BINDIR}
...
is only defined after <bsd.prog.mk> is included, and .if make(1)
conditionals are evaluted on the first pass.
Spotted by: Michael Bretterklieber <mbretter@jawa.at>
2002-07-12 14:49:25 +00:00
trhodes
ec2a348c1f
More consistancy. file system > filesystem
2002-05-16 02:19:14 +00:00
charnier
a426ff29b9
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
ru
a84af2ef49
Don't attempt to chflags(1) non-existent executable.
2002-04-17 12:15:02 +00:00
imp
6b8e9d623c
remove __P
2002-03-22 01:42:45 +00:00
markm
2dbd0453bf
Fix merge conflicts, and because this still has a zillion warnings,
...
protect the build with a WARNS=2.
Fix the build.
2001-12-20 14:25:46 +00:00
markm
f0ff9c7604
Bring files back from the dead prior to remote commit to fix import
...
conflicts.
2001-12-20 13:40:48 +00:00
ru
b0eb8799f3
${BINDIR} already has the leading slash.
2001-11-27 09:54:02 +00:00
markm
13319d8346
After some CVS surgery to remove an unwise commit, restore some
...
post-UUCP-removal stuff:
1) Link cu(1) to tip(1).
2) Force removal of system immutable bit. (Was needed by UUCP's
insecure cu(1).
2001-11-26 23:13:33 +00:00
ru
f57a015920
Fixed some of style bugs.
2001-09-12 10:04:42 +00:00
dillon
6b42930fa9
Make sure that all non-root-owned binaries in standard system
...
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary. This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).
MFC will occur when approved.
2001-09-09 04:54:10 +00:00
ru
9174553bc8
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
sheldonh
beb35793ec
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
...
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
ecbb298b07
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
brian
34ad3e29c4
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
phk
a85a42ac0e
If the user exists abruptly, tip's "tipout" child can hang around
...
forever. Since the lock file doesn't get cleaned up, this prevents
other users from accessing the target device.
(phk adds: Man, this has been bugging me for YEARS!)
PR: 12528
Submitted by: Craig Leres leres@ee.lbl.gov
MFC after: 1 week
2001-05-24 09:27:02 +00:00
ru
8ec47de9c3
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
655e7db87e
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
phantom
e9eef32a98
Fix typo reported by Rich Morin <rdm@cfcl.com> on -doc mailing list.
...
Correct .Xr macro usage.
Also fix few more typos while I'm here.
2000-12-14 16:27:11 +00:00
ru
0957874304
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ru
f9c7198049
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
imp
8e96f07683
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
bsd
6201769200
Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip.
2000-03-15 15:01:04 +00:00
sheldonh
d39e57413d
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
bsd
5798e80bd0
Fix a 'tip' core dump caused by a null pointer dereference when
...
sending a file to the remote system.
PR: bin/15660
Reviewed by: jkh
Approved by: jkh
2000-02-22 02:01:17 +00:00
peter
27eff20bc0
Fix warning: return type of main' is not
int'
1999-09-15 01:58:44 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
7e91e73b9f
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
dt
7c674ec6a1
Rename a function to avoid conflict with the new syscall 'pwrite'.
1999-04-04 21:47:11 +00:00
dfr
b128ba9a29
Some 64bit portability fixes.
1998-10-03 11:01:39 +00:00
obrien
ac2c9069c6
Makefile.inc was conditionally setting vars already set by bsd.own.mk
...
which is read before tip's own Makefile is. Move those varables here
where they will do some good.
1998-09-21 08:41:35 +00:00
bde
ab05e68061
Don't assume that time_t is long.
1998-06-29 17:06:00 +00:00
steve
3471124890
Fix a few typos.
...
PR: 7092
Submitted by: Kauzo Horikawa <h-horik@yk.rim.or.jp>
1998-06-27 20:32:41 +00:00
imp
3a869e2c7b
sizeof(foo - 1) isn't the same as sizeof(foo) - 1.
...
Pointed out by: Theo De Raadt.
1998-06-09 14:51:05 +00:00
imp
e15433af64
o Use snprintf rather than sprintf.
...
o Revert gid to caller before a shell so we can run setgid.
o minor style nits to make bruce happy :-)
o use strncpy correctly.
1998-06-09 04:28:05 +00:00
eivind
12ba09ea18
Remove special global tags support; we don't do it that way anymore.
1998-03-26 16:12:14 +00:00
phk
7d1a30911b
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
eivind
3a73a48e6f
Removed a buffer overflow in args().
...
While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.
1997-08-26 10:25:19 +00:00
imp
d2572797e3
Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
...
to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable
buffer overflow in tipout.c.
Reviewed by: millert@openbsd.org (tipout.c)
Submitted by: millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
imp
c7cadd2336
Fix buffer overflow. prompt didn't get a size for its buffer,
...
so it could overflow it. Also made some filenames MAXPATHLEN long rather
than 80 long.
1997-08-22 22:14:16 +00:00
charnier
6bb42bb1b9
Add prototypes, usage(). Use err(3).
1997-08-18 07:16:12 +00:00
peter
1a608ac729
kill the undead
1997-07-13 14:26:00 +00:00